Loading tests/assignment-1/a1-ex19.bats +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ setup() { } @test "[EXERCISE 19] Lines 5-10 from file 'commands.sh' were printed" { expected_output="$(sed -n '5,10p' ./commands.sh)" expected_output="$(sed -n '1,3p' README.md)" actual_output="$(bash ./task-19.sh)" assert_equal "$actual_output" "$expected_output" } Loading
tests/assignment-1/a1-ex19.bats +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ setup() { } @test "[EXERCISE 19] Lines 5-10 from file 'commands.sh' were printed" { expected_output="$(sed -n '5,10p' ./commands.sh)" expected_output="$(sed -n '1,3p' README.md)" actual_output="$(bash ./task-19.sh)" assert_equal "$actual_output" "$expected_output" }