diff --git a/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_6.py b/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_6.py index 5cf88370a46ddf..b651380f0def17 100644 --- a/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_6.py +++ b/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_6.py @@ -1,5 +1,5 @@ -# Docstring followed by whitespace with no newline -# Regression test for https://github.com/astral-sh/ruff/issues/7155 +# Import followed by whitespace with no newline +# Same as B006_2.py, but import instead of docstring def foobar(foor, bar={}): import os \ No newline at end of file diff --git a/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_7.py b/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_7.py index dbe6cf7e17794e..0b382b5fbfcf99 100644 --- a/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_7.py +++ b/crates/ruff_linter/resources/test/fixtures/flake8_bugbear/B006_7.py @@ -1,5 +1,5 @@ -# Docstring with no newline - +# Import with no newline +# Same as B006_3.py, but import instead of docstring def foobar(foor, bar={}): import os \ No newline at end of file