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.
This commit is contained in:
parent
9e0f0d4352
commit
c9ad4acc44
1 changed files with 1 additions and 1 deletions
2
test/integration/oni-smartparens.bats
Normal file → Executable file
2
test/integration/oni-smartparens.bats
Normal file → Executable file
|
@ -7,5 +7,5 @@
|
||||||
|
|
||||||
echo "$output"
|
echo "$output"
|
||||||
|
|
||||||
[ "$output" = "t" ]
|
[[ "$output" == *"t" ]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue