@@ -19,17 +19,17 @@ function test_bashunit_init_creates_structure() {
19
19
# generate test scaffolding
20
20
../../bashunit --init > /tmp/init.log
21
21
# 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"
24
24
# return to the original working directory
25
25
popd > /dev/null
26
26
}
27
27
28
28
function test_bashunit_init_custom_directory() {
29
29
pushd " $TMP_DIR " > /dev/null
30
30
../../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"
33
33
popd > /dev/null
34
34
}
35
35
@@ -39,8 +39,8 @@ function test_bashunit_init_updates_env() {
39
39
pushd " $TMP_DIR " > /dev/null
40
40
echo " BASHUNIT_BOOTSTRAP=old/bootstrap.sh" > .env
41
41
../../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"
44
44
assert_file_contains .env " #BASHUNIT_BOOTSTRAP=old/bootstrap.sh"
45
45
assert_file_contains .env " BASHUNIT_BOOTSTRAP=custom/bootstrap.sh"
46
46
popd > /dev/null
0 commit comments