Fix integration tests

This commit is contained in:
Charlie Marsh 2022-12-21 21:25:37 -05:00
parent 03e4f5be8a
commit 48e3c046b0
1 changed files with 2 additions and 2 deletions

View File

@ -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(())