1
0
mirror of https://github.com/sstephenson/bats.git synced 2026-02-25 09:18:10 +01:00

Support single-line test definitions

This commit is contained in:
Sam Stephenson
2013-11-17 13:04:57 -06:00
parent 08374f7269
commit 1041e46f39
3 changed files with 22 additions and 2 deletions

9
test/fixtures/bats/single_line.bats vendored Normal file
View File

@@ -0,0 +1,9 @@
@test "empty" { }
@test "passing" { true; }
@test "input redirection" { diff - <( echo hello ); } <<EOS
hello
EOS
@test "failing" { false; }