@@ -13,23 +13,23 @@ Describe "check"
1313
1414 Context " with no subdirectories"
1515 create_valid_files () { for _ in $( seq 1 " $1 " ) ; do create_valid_file " $root " ; done ; }
16- BeforeEach " create_valid_files 20 "
16+ BeforeEach " create_valid_files 10 > /dev/null "
1717
1818 It " succeeds"
1919 When call " $bin " " $root "
2020 The status should be success
21- The output should include " 21 valid filenames"
21+ The output should include " 11 valid filenames"
2222 The output should include " 0 invalid filenames"
2323 The length of error should equal 0
2424 End
2525
2626 Context " and one invalid file"
27- BeforeEach " create_invalid_file $root "
27+ BeforeEach " create_invalid_file $root > /dev/null "
2828
2929 It " fails"
3030 When call " $bin " " $root "
3131 The status should be failure
32- The output should include " 21 valid filenames"
32+ The output should include " 11 valid filenames"
3333 The output should include " 1 invalid filenames"
3434 The error should include " invalid filenames found"
3535 End
@@ -44,12 +44,12 @@ Describe "check"
4444 End
4545
4646 Context " and one invalid directory"
47- BeforeEach " create_invalid_file $root "
47+ BeforeEach " create_invalid_file $root > /dev/null "
4848
4949 It " fails"
5050 When call " $bin " " $root "
5151 The status should be failure
52- The output should include " 21 valid filenames"
52+ The output should include " 11 valid filenames"
5353 The output should include " 1 invalid filenames"
5454 The error should include " invalid filenames found"
5555 End
@@ -66,19 +66,19 @@ Describe "check"
6666
6767 Context " with many subdirectories"
6868 create_valid_files () { for _ in $( seq 1 " $1 " ) ; do create_valid_file " $2 " ; done ; }
69- BeforeEach " create_valid_files 20 $root "
69+ BeforeEach " create_valid_files 10 $root > /dev/null "
7070 create_valid_directories () {
7171 for _ in $( seq 1 " $1 " ) ; do
7272 dir=$( create_valid_directory " $root " )
7373 create_valid_files " $1 " " $dir "
7474 done
7575 }
76- BeforeEach " create_valid_directories 20 "
76+ BeforeEach " create_valid_directories 10 > /dev/null "
7777
7878 It " succeeds"
7979 When call " $bin " " $root "
8080 The status should be success
81- The output should include " 441 valid filenames"
81+ The output should include " 121 valid filenames"
8282 The output should include " 0 invalid filenames"
8383 The length of error should equal 0
8484 End
0 commit comments