diff --git a/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap b/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap index 954d345465..a0c3e2f1cb 100644 --- a/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap +++ b/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap @@ -89,7 +89,7 @@ expression: diagnostics column: 29 fix: content: - - "\"Hel\\to\"" + - "\"Helo\\t\"" location: row: 14 column: 20 @@ -108,7 +108,7 @@ expression: diagnostics column: 30 fix: content: - - "r\"He\\tlo\"" + - "r\"Helo\\t\"" location: row: 17 column: 20 @@ -127,7 +127,7 @@ expression: diagnostics column: 29 fix: content: - - "\"Hel\\\\o\"" + - "\"Helo\\\\\"" location: row: 20 column: 20 @@ -146,7 +146,7 @@ expression: diagnostics column: 30 fix: content: - - "r\"He\\lo\"" + - "r\"Helo\\\"" location: row: 23 column: 20 diff --git a/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap.new b/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap.new deleted file mode 100644 index 72a79d636c..0000000000 --- a/crates/ruff/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1310_bad_str_strip_call.py.snap.new +++ /dev/null @@ -1,278 +0,0 @@ ---- -source: crates/ruff/src/rules/pylint/mod.rs -assertion_line: 50 -expression: diagnostics ---- -- kind: - BadStrStripCall: - kind: Strip - location: - row: 2 - column: 20 - end_location: - row: 2 - column: 27 - fix: - content: - - "\"Helo\"" - location: - row: 2 - column: 20 - end_location: - row: 2 - column: 27 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 5 - column: 20 - end_location: - row: 5 - column: 27 - fix: - content: - - "\"Helo\"" - location: - row: 5 - column: 20 - end_location: - row: 5 - column: 27 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 8 - column: 20 - end_location: - row: 8 - column: 28 - fix: - content: - - "u\"Helo\"" - location: - row: 8 - column: 20 - end_location: - row: 8 - column: 28 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 11 - column: 20 - end_location: - row: 11 - column: 28 - fix: - content: - - "r\"Helo\"" - location: - row: 11 - column: 20 - end_location: - row: 11 - column: 28 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 14 - column: 20 - end_location: - row: 14 - column: 29 - fix: - content: - - "\"Helo\\t\"" - location: - row: 14 - column: 20 - end_location: - row: 14 - column: 29 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 17 - column: 20 - end_location: - row: 17 - column: 30 - fix: - content: - - "r\"Helo\\t\"" - location: - row: 17 - column: 20 - end_location: - row: 17 - column: 30 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 20 - column: 20 - end_location: - row: 20 - column: 29 - fix: - content: - - "\"Helo\\\\\"" - location: - row: 20 - column: 20 - end_location: - row: 20 - column: 29 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 23 - column: 20 - end_location: - row: 23 - column: 30 - fix: - content: - - "r\"Helo\\\"" - location: - row: 23 - column: 20 - end_location: - row: 23 - column: 30 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 26 - column: 20 - end_location: - row: 26 - column: 29 - fix: - content: - - "\"🤣🙃👀😀\"" - location: - row: 26 - column: 20 - end_location: - row: 26 - column: 29 - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 30 - column: 4 - end_location: - row: 32 - column: 3 - fix: ~ - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 36 - column: 20 - end_location: - row: 38 - column: 29 - fix: ~ - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 42 - column: 4 - end_location: - row: 44 - column: 13 - fix: ~ - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 49 - column: 4 - end_location: - row: 51 - column: 13 - fix: ~ - parent: ~ -- kind: - BadStrStripCall: - kind: Strip - location: - row: 61 - column: 10 - end_location: - row: 61 - column: 19 - fix: - content: - - "'htp:/'" - location: - row: 61 - column: 10 - end_location: - row: 61 - column: 19 - parent: ~ -- kind: - BadStrStripCall: - kind: LStrip - location: - row: 64 - column: 11 - end_location: - row: 64 - column: 20 - fix: - content: - - "'htp:/'" - location: - row: 64 - column: 11 - end_location: - row: 64 - column: 20 - parent: ~ -- kind: - BadStrStripCall: - kind: RStrip - location: - row: 67 - column: 11 - end_location: - row: 67 - column: 20 - fix: - content: - - "'htp:/'" - location: - row: 67 - column: 11 - end_location: - row: 67 - column: 20 - parent: ~ -