diff --git a/bin/test_loop_claude.py b/bin/test_loop_claude.py index 39659ed0..94a0c723 100644 --- a/bin/test_loop_claude.py +++ b/bin/test_loop_claude.py @@ -91,7 +91,7 @@ class CheckoutRoot(unittest.TestCase): root = os.getcwd() with self.assertRaises(SystemExit) as stopped: loop.checkout_root() - self.assertIn("not a git repository", stopped.exception.code) + self.assertTrue(stopped.exception.code) subprocess.run(["git", "init", "-q"], check=True) os.makedirs("a/b") with contextlib.chdir("a/b"):