Be less verbose

The output is already printed once anyway.

```git-check-assertions
[success] ./test/git-check-assertions.bats
```
This commit is contained in:
Sven van Heugten 2026-04-16 17:13:12 +02:00
parent 0719fa33c2
commit fc7c23355a
No known key found for this signature in database
GPG key ID: D612F88666F4F660
2 changed files with 0 additions and 3 deletions

View file

@ -135,7 +135,6 @@ for commit_hash in "${commits[@]}"; do
for expected in step["assertions"]: for expected in step["assertions"]:
if expected not in output: if expected not in output:
print(f"Expected output to contain: {expected}") print(f"Expected output to contain: {expected}")
print(f"Actual output: {output}")
sys.exit(1) sys.exit(1)
EOF EOF
} }

View file

@ -413,7 +413,6 @@ commit_with_assertion() {
assert_failure assert_failure
assert_output --partial "Expected output to contain: goodbye" assert_output --partial "Expected output to contain: goodbye"
assert_output --partial "Actual output: hello"
} }
@test "an output line should also check stderr output" { @test "an output line should also check stderr output" {
@ -442,7 +441,6 @@ commit_with_assertion() {
assert_failure assert_failure
assert_output --partial "Expected output to contain: xyz" assert_output --partial "Expected output to contain: xyz"
assert_output --partial "Actual output: hello"
} }
@test "executed commands should print command output" { @test "executed commands should print command output" {