summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-01-02 12:01:10 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2018-01-02 12:01:10 -0500
commit9c2ed3fab9cf19acd5a72d1240bc2a0c8003238d (patch)
treef25dccd1b6bf30461497e6bf1ea31c9dd8c7c071 /test
parent313d1ee619363eca0b8b0742a2d58c9ce18877fd (diff)
test/test-common.sh: equals: fix quoting
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-common.sh b/test/test-common.sh
index c0e8634..da19490 100755
--- a/test/test-common.sh
+++ b/test/test-common.sh
@@ -115,5 +115,5 @@ not() (
equals() {
local stdin
IFS= read -rd '' stdin || :
- [[ $1 == $stdin ]]
+ [[ $1 == "$stdin" ]]
}