From 8e8c9e5ce5702da43d286c1881d8b912509405df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Mon, 25 Sep 2023 20:57:28 +0200 Subject: [PATCH] Update info for new tests --- .../resources/test/fixtures/flake8_bugbear/B006_6.py | 4 ++-- .../resources/test/fixtures/flake8_bugbear/B006_7.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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