mirror of https://github.com/astral-sh/ruff
Fix integration tests
This commit is contained in:
parent
03e4f5be8a
commit
48e3c046b0
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Reference in New Issue