Skip to content

Commit 23b9a0c

Browse files
committed
move test from preview_rules
1 parent 58459d6 commit 23b9a0c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

crates/ruff_linter/src/rules/ruff/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ mod tests {
9393
#[test_case(Rule::NeedlessElse, Path::new("RUF047_try.py"))]
9494
#[test_case(Rule::MapIntVersionParsing, Path::new("RUF048.py"))]
9595
#[test_case(Rule::MapIntVersionParsing, Path::new("RUF048_1.py"))]
96+
#[test_case(Rule::DataclassEnum, Path::new("RUF049.py"))]
9697
#[test_case(Rule::IfKeyInDictDel, Path::new("RUF051.py"))]
9798
#[test_case(Rule::UsedDummyVariable, Path::new("RUF052.py"))]
9899
#[test_case(Rule::ClassWithMixedTypeVars, Path::new("RUF053.py"))]
@@ -473,7 +474,6 @@ mod tests {
473474
#[test_case(Rule::UnnecessaryRegularExpression, Path::new("RUF055_2.py"))]
474475
#[test_case(Rule::PytestRaisesAmbiguousPattern, Path::new("RUF043.py"))]
475476
#[test_case(Rule::UnnecessaryRound, Path::new("RUF057.py"))]
476-
#[test_case(Rule::DataclassEnum, Path::new("RUF049.py"))]
477477
#[test_case(Rule::StarmapZip, Path::new("RUF058_0.py"))]
478478
#[test_case(Rule::StarmapZip, Path::new("RUF058_1.py"))]
479479
#[test_case(Rule::IndentedFormFeed, Path::new("RUF054.py"))]
File renamed without changes.

0 commit comments

Comments
 (0)