1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 11:42:33 +01:00

Add double quotes around $FIXTURE_ROOT

This commit is contained in:
Jason Grosz 2017-10-03 13:30:35 -05:00
parent adf559ec40
commit eed991303b

View File

@ -53,7 +53,7 @@ fixtures bats
}
@test "tap passing and skipping tests" {
run filter_control_sequences bats --tap $FIXTURE_ROOT/passing_and_skipping.bats
run filter_control_sequences bats --tap "$FIXTURE_ROOT/passing_and_skipping.bats"
[ $status -eq 0 ]
[ "${lines[0]}" = "1..3" ]
[ "${lines[1]}" = "ok 1 a passing test" ]
@ -68,7 +68,7 @@ fixtures bats
}
@test "summary passing, failing and skipping tests" {
run filter_control_sequences bats -p $FIXTURE_ROOT/passing_failing_and_skipping.bats
run filter_control_sequences bats -p "$FIXTURE_ROOT/passing_failing_and_skipping.bats"
[ $status -eq 0 ]
[ "${lines[5]}" = "3 tests, 1 failure, 1 skipped" ]
}