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