Be less verbose
The output is already printed once anyway. ```git-check-assertions [success] ./test/git-check-assertions.bats ```
This commit is contained in:
parent
0719fa33c2
commit
fc7c23355a
2 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue