From 3af27ddac878de630dfe2fe442356b3e929c529d Mon Sep 17 00:00:00 2001 From: harupy Date: Sat, 28 Oct 2023 12:50:09 +0900 Subject: [PATCH] Update snapshot --- ...inter__rules__flake8_bugbear__tests__B015_B015.py.snap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ruff_linter/src/rules/flake8_bugbear/snapshots/ruff_linter__rules__flake8_bugbear__tests__B015_B015.py.snap b/crates/ruff_linter/src/rules/flake8_bugbear/snapshots/ruff_linter__rules__flake8_bugbear__tests__B015_B015.py.snap index 46702e5a58a66..cfb586e33ef71 100644 --- a/crates/ruff_linter/src/rules/flake8_bugbear/snapshots/ruff_linter__rules__flake8_bugbear__tests__B015_B015.py.snap +++ b/crates/ruff_linter/src/rules/flake8_bugbear/snapshots/ruff_linter__rules__flake8_bugbear__tests__B015_B015.py.snap @@ -1,7 +1,7 @@ --- source: crates/ruff_linter/src/rules/flake8_bugbear/mod.rs --- -B015.py:3:1: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it. +B015.py:3:1: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it. | 1 | assert 1 == 1 2 | @@ -11,7 +11,7 @@ B015.py:3:1: B015 Pointless comparison. This comparison does nothing but waste C 5 | assert 1 in (1, 2) | -B015.py:7:1: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it. +B015.py:7:1: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it. | 5 | assert 1 in (1, 2) 6 | @@ -19,7 +19,7 @@ B015.py:7:1: B015 Pointless comparison. This comparison does nothing but waste C | ^^^^^^^^^^^ B015 | -B015.py:17:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it. +B015.py:17:5: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it. | 15 | assert 1 in (1, 2) 16 | @@ -27,7 +27,7 @@ B015.py:17:5: B015 Pointless comparison. This comparison does nothing but waste | ^^^^^^^^^^^ B015 | -B015.py:24:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it. +B015.py:24:5: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it. | 23 | class TestClass: 24 | 1 == 1