@@ -19,17 +19,17 @@ function test_bashunit_init_creates_structure() {
1919 # generate test scaffolding
2020 ../../bashunit --init > /tmp/init.log
2121 # perform the assertions
22- assert_file_exists tests/example_test.sh
23- assert_file_exists tests/bootstrap.sh
22+ assert_file_exists " tests/example_test.sh"
23+ assert_file_exists " tests/bootstrap.sh"
2424 # return to the original working directory
2525 popd > /dev/null
2626}
2727
2828function test_bashunit_init_custom_directory() {
2929 pushd " $TMP_DIR " > /dev/null
3030 ../../bashunit --init custom > /tmp/init.log
31- assert_file_exists custom/example_test.sh
32- assert_file_exists custom/bootstrap.sh
31+ assert_file_exists " custom/example_test.sh"
32+ assert_file_exists " custom/bootstrap.sh"
3333 popd > /dev/null
3434}
3535
@@ -39,8 +39,8 @@ function test_bashunit_init_updates_env() {
3939 pushd " $TMP_DIR " > /dev/null
4040 echo " BASHUNIT_BOOTSTRAP=old/bootstrap.sh" > .env
4141 ../../bashunit --init custom > /tmp/init.log
42- assert_file_exists custom/example_test.sh
43- assert_file_exists custom/bootstrap.sh
42+ assert_file_exists " custom/example_test.sh"
43+ assert_file_exists " custom/bootstrap.sh"
4444 assert_file_contains .env " #BASHUNIT_BOOTSTRAP=old/bootstrap.sh"
4545 assert_file_contains .env " BASHUNIT_BOOTSTRAP=custom/bootstrap.sh"
4646 popd > /dev/null
0 commit comments