From a427b0f164aeddd080a3b4a6972446dfb2a62670 Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Mon, 19 Oct 2026 15:42:46 +0200 Subject: [PATCH] test: assert the success message first in the corruption test Co-Authored-By: Claude Sonnet 5.5 --- tests/test_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_compat.py b/tests/test_compat.py index 5b7046a..693c3f2 100644 --- a/tests/test_compat.py +++ b/tests/test_compat.py @@ -250,8 +250,8 @@ class TestCorruptedRepository: def test_corruption_not_reported_successful(self, corrupt_run): """a corrupted repository is not reported as successful""" - assert "Check Failed with Status" in corrupt_run.check.out # it did run and report assert "Check Successful" not in corrupt_run.check.out + assert "Check Failed with Status" in corrupt_run.check.out # the check did run and report def test_failing_check_writes_error_log(self, corrupt_run): """failing check writes check-error-last.log"""