aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-02-24 21:14:49 -0800
committerGravatar Tom Willemse2021-02-24 21:14:49 -0800
commitc9ad4acc44f92db605806848e7107fabd9e933bf (patch)
tree23c1a8a8ad6b002cad1764595cc94b5eb20da091 /test
parent9e0f0d435228078be4ada9013b048912bce80765 (diff)
downloademacs-config-c9ad4acc44f92db605806848e7107fabd9e933bf.tar.gz
emacs-config-c9ad4acc44f92db605806848e7107fabd9e933bf.zip
Check that the output of the ‘oni-smartparens’ test ends in t
There can be other output, but that doesn’t mean the test failed, as long as t is the last thing.
Diffstat (limited to 'test')
-rwxr-xr-x[-rw-r--r--]test/integration/oni-smartparens.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/oni-smartparens.bats b/test/integration/oni-smartparens.bats
index 019e0f0..e31e96e 100644..100755
--- a/test/integration/oni-smartparens.bats
+++ b/test/integration/oni-smartparens.bats
@@ -7,5 +7,5 @@
echo "$output"
- [ "$output" = "t" ]
+ [[ "$output" == *"t" ]]
}