From fc63c6f2e260760963c5fdea2d9d4e0cf38ec58a Mon Sep 17 00:00:00 2001 From: Jonathan Plasse <13716151+JonathanPlasse@users.noreply.github.com> Date: Sat, 20 May 2023 21:34:03 +0200 Subject: [PATCH] Fix PLE01310 typo (#4550) --- crates/ruff/src/rules/pylint/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff/src/rules/pylint/mod.rs b/crates/ruff/src/rules/pylint/mod.rs index 87bd4ce8e8..b5cec179d9 100644 --- a/crates/ruff/src/rules/pylint/mod.rs +++ b/crates/ruff/src/rules/pylint/mod.rs @@ -21,7 +21,7 @@ mod tests { #[test_case(Rule::AwaitOutsideAsync, Path::new("await_outside_async.py"); "PLE1142")] #[test_case(Rule::AssertOnStringLiteral, Path::new("assert_on_string_literal.py"); "PLW0129")] - #[test_case(Rule::BadStrStripCall, Path::new("bad_str_strip_call.py"); "PLE01310")] + #[test_case(Rule::BadStrStripCall, Path::new("bad_str_strip_call.py"); "PLE1310")] #[test_case(Rule::BadStringFormatType, Path::new("bad_string_format_type.py"); "PLE1307")] #[test_case(Rule::BidirectionalUnicode, Path::new("bidirectional_unicode.py"); "PLE2502")] #[test_case(Rule::BinaryOpException, Path::new("binary_op_exception.py"); "PLW0711")]