From fc51cea8cfc45031b3f4ae16ed1f668d0e1ba194 Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Tue, 20 Oct 2026 10:06:12 +0200 Subject: [PATCH] fix: shorten sabotage message for lint Co-Authored-By: Claude Sonnet 5.5 --- tests/sabotage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sabotage.py b/tests/sabotage.py index c80187f..992b3ab 100644 --- a/tests/sabotage.py +++ b/tests/sabotage.py @@ -123,7 +123,7 @@ def main() -> int: failures, errors = red_tests(report) broken = [name for name in EXPECTED_RED if name in errors] if broken: - raise Invalid(f"expected tests errored or hit a failed scenario step instead of failing an assertion: {broken}") + raise Invalid(f"expected tests hit an error or failed step, not an assertion: {broken}") missing = [name for name in EXPECTED_RED if name not in failures] for name in missing: print(