mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 12:48:35 +00:00
world_names test: match the escaped overwrite diagnostic
AI-assisted with DeepSeek V4 Pro. Verified with synthetic tests on macOS arm64.
This commit is contained in:
@ -337,7 +337,7 @@ class CliTest(unittest.TestCase):
|
||||
err = io.StringIO()
|
||||
with contextlib.redirect_stderr(err), contextlib.redirect_stdout(io.StringIO()):
|
||||
self.assertNotEqual(WN.main(["resolve", *prefix, "--out", source]), 0)
|
||||
self.assertIn(source, err.getvalue())
|
||||
self.assertIn(repr(source), err.getvalue())
|
||||
with open(source, "rb") as handle:
|
||||
self.assertEqual(handle.read(), original)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user