From eed991303b63287c0d75d7cc4d21fd994cd37a40 Mon Sep 17 00:00:00 2001 From: Jason Grosz Date: Tue, 3 Oct 2017 13:30:35 -0500 Subject: [PATCH] Add double quotes around `$FIXTURE_ROOT` --- test/bats.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bats.bats b/test/bats.bats index 441916e..3f48d0d 100755 --- a/test/bats.bats +++ b/test/bats.bats @@ -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" ] }