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:
9
test/fixtures/bats/single_line.bats
vendored
Normal file
9
test/fixtures/bats/single_line.bats
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
@test "empty" { }
|
||||
|
||||
@test "passing" { true; }
|
||||
|
||||
@test "input redirection" { diff - <( echo hello ); } <<EOS
|
||||
hello
|
||||
EOS
|
||||
|
||||
@test "failing" { false; }
|
||||
Reference in New Issue
Block a user