From 48e3c046b0423dff78dc18c181010d313f5c0f3f Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 21 Dec 2022 21:25:37 -0500 Subject: [PATCH] Fix integration tests --- tests/integration_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration_test.rs b/tests/integration_test.rs index 6b5e1c538c378..0e6376f200726 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -23,7 +23,7 @@ fn test_stdin_error() -> Result<()> { .failure(); assert_eq!( str::from_utf8(&output.get_output().stdout)?, - "Found 1 error(s).\n-:1:8: F401 `os` imported but unused\n1 potentially fixable with the \ + "-:1:8: F401 `os` imported but unused\nFound 1 error(s).\n1 potentially fixable with the \ --fix option.\n" ); Ok(()) @@ -39,7 +39,7 @@ fn test_stdin_filename() -> Result<()> { .failure(); assert_eq!( str::from_utf8(&output.get_output().stdout)?, - "Found 1 error(s).\nF401.py:1:8: F401 `os` imported but unused\n1 potentially fixable \ + "F401.py:1:8: F401 `os` imported but unused\nFound 1 error(s).\n1 potentially fixable \ with the --fix option.\n" ); Ok(())