Loading tests/assignment-1/a1-ex20.bats +0 −2 Original line number Diff line number Diff line Loading @@ -7,8 +7,6 @@ setup() { } @test "[EXERCISE 20] File 'coins.txt' was created" { bash ./task-20.sh assert_file_exists './coins.txt' assert_file_not_empty './coins.txt' } tests/assignment-1/a1-ex5.bats +1 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,6 @@ setup() { @test "[EXERCISE 5] Is inside the folder 'uowm\cs'" { expected_output="cd uowm/cs" actual_output="$(cat ./task-5.sh)" actual_output="$(grep -v '^#' ./task-5.sh | grep -v '^$')" assert_equal "$actual_output" "$expected_output" } Loading
tests/assignment-1/a1-ex20.bats +0 −2 Original line number Diff line number Diff line Loading @@ -7,8 +7,6 @@ setup() { } @test "[EXERCISE 20] File 'coins.txt' was created" { bash ./task-20.sh assert_file_exists './coins.txt' assert_file_not_empty './coins.txt' }
tests/assignment-1/a1-ex5.bats +1 −1 Original line number Diff line number Diff line Loading @@ -8,6 +8,6 @@ setup() { @test "[EXERCISE 5] Is inside the folder 'uowm\cs'" { expected_output="cd uowm/cs" actual_output="$(cat ./task-5.sh)" actual_output="$(grep -v '^#' ./task-5.sh | grep -v '^$')" assert_equal "$actual_output" "$expected_output" }