From b9edec069a49b7bd4af1f9649ee6c237c7c6acea Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 13 Jan 2025 09:38:13 -0800 Subject: [PATCH] fix: Update test to match error message format for line endings validation --- tests/basic/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic/test_io.py b/tests/basic/test_io.py index 15de208b0..bbce17820 100644 --- a/tests/basic/test_io.py +++ b/tests/basic/test_io.py @@ -24,7 +24,7 @@ class TestInputOutput(unittest.TestCase): with self.assertRaises(ValueError) as cm: io = InputOutput(line_endings="invalid") self.assertIn("Invalid line_endings value: invalid", str(cm.exception)) - self.assertIn("Must be one of: platform, lf, crlf", str(cm.exception)) + self.assertIn("Must be one of: platform, crlf, lf", str(cm.exception)) def test_no_color_environment_variable(self): with patch.dict(os.environ, {"NO_COLOR": "1"}):