From c9ad4acc44f92db605806848e7107fabd9e933bf Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 24 Feb 2021 21:14:49 -0800 Subject: 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. --- test/integration/oni-smartparens.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 test/integration/oni-smartparens.bats (limited to 'test') diff --git a/test/integration/oni-smartparens.bats b/test/integration/oni-smartparens.bats old mode 100644 new mode 100755 index 019e0f0..e31e96e --- a/test/integration/oni-smartparens.bats +++ b/test/integration/oni-smartparens.bats @@ -7,5 +7,5 @@ echo "$output" - [ "$output" = "t" ] + [[ "$output" == *"t" ]] } -- cgit v1.2.3-54-g00ecf