diff --git a/bin/git-check-assertions b/bin/git-check-assertions index f8ef8c0..6dd5c6e 100755 --- a/bin/git-check-assertions +++ b/bin/git-check-assertions @@ -135,7 +135,6 @@ for commit_hash in "${commits[@]}"; do for expected in step["assertions"]: if expected not in output: print(f"Expected output to contain: {expected}") - print(f"Actual output: {output}") sys.exit(1) EOF } diff --git a/test/git-check-assertions.bats b/test/git-check-assertions.bats index ccd0a2f..476add5 100755 --- a/test/git-check-assertions.bats +++ b/test/git-check-assertions.bats @@ -413,7 +413,6 @@ commit_with_assertion() { assert_failure assert_output --partial "Expected output to contain: goodbye" - assert_output --partial "Actual output: hello" } @test "an output line should also check stderr output" { @@ -442,7 +441,6 @@ commit_with_assertion() { assert_failure assert_output --partial "Expected output to contain: xyz" - assert_output --partial "Actual output: hello" } @test "executed commands should print command output" {