From cde7e69ac8ea682c53497bf4cf7ab02653abea7e Mon Sep 17 00:00:00 2001 From: 3ae3ae Date: Mon, 19 Oct 2026 22:13:59 +0900 Subject: [PATCH] test: match the eval output changed in the previous commit The previous commit renamed eval's column to FINAL and aligned the table, but three assertions in tests/test_consolidate.py still expected the old text, so the suite failed on general-cli. They now match the current output, with the column spacing left flexible. Co-Authored-By: Claude Opus 5.5 --- tests/test_consolidate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_consolidate.py b/tests/test_consolidate.py index b1ffd7f8..0c28b556 100644 --- a/tests/test_consolidate.py +++ b/tests/test_consolidate.py @@ -219,11 +219,11 @@ def test_two_tasks_retry_adoption_eval_and_json(self): self.assertEqual((self.project / "CLAUDE.md").read_text(), "Use shared procedure.\n") text, _ = self.invoke("eval", "trial", "--repeat", "2") self.assertIn( - "Comparing the consolidated harness with the starting one on 2 task(s), 2 run(s) each.", + "Comparing the final harness with the starting one on 2 task(s), 2 run(s) each.", text, ) - self.assertIn("TASK START CONSOLIDATED\na-one 0% 100%\nb-two 0% 100%", text) - self.assertIn("mean 0% 100% (+100 points)", text) + self.assertRegex(text, r"TASK +START +FINAL\n +a-one +0% +100%\n +b-two +0% +100%") + self.assertRegex(text, r"mean +0% +100% \(\+100 points\)") self.assertIn(f"Saved to {self.run_dir / 'eval/parallel/results.json'}", text) results = json.loads((self.run_dir / "eval/parallel/results.json").read_text()) self.assertEqual(results["mean"], {"start": 0.0, "consolidated": 1.0})