Expect an unquoted verdict's failure to name the interrupt

This commit is contained in:
2026-09-27 17:08:37 +02:00
parent eba75e9fa7
commit 53438fd75d
+1 -1
View File
@@ -417,7 +417,7 @@ class RunCycle(unittest.TestCase):
self.assertEqual(stop.code, 1)
self.assertTrue(stop.reason.startswith("the judge "))
if plan.startswith("unquoted"):
self.assertIn("asking: q?", stop.reason)
self.assertIn("interrupting with: q?", stop.reason)
self.assertEqual(open(verdicts).read(), "")
self.assertEqual({json.loads(line)[0] for line in open(calls)}, {home})
starts = [args[args.index("-p") + 1:][:3] for args in map(json.loads, open(calls)) if "--json-schema" not in args]