Skip to content

Commit

Permalink
clippy doesn't like foo
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Apr 10, 2024
1 parent bc251c3 commit 026c16b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/ruff/tests/lint.rs
Expand Up @@ -1262,10 +1262,10 @@ fn negated_per_file_ignores_overlap() -> Result<()> {
"!foo.py" = ["RUF"]
"#,
)?;
let foo = tempdir.path().join("foo.py");
fs::write(foo, "")?;
let bar = tempdir.path().join("bar.py");
fs::write(bar, "")?;
let foo_file = tempdir.path().join("foo.py");
fs::write(foo_file, "")?;
let bar_file = tempdir.path().join("bar.py");
fs::write(bar_file, "")?;

assert_cmd_snapshot!(Command::new(get_cargo_bin(BIN_NAME))
.args(STDIN_BASE_OPTIONS)
Expand Down

0 comments on commit 026c16b

Please sign in to comment.