mirror of
https://github.com/astral-sh/ruff
synced 2026-01-24 15:01:00 -05:00
Add test case for assignment expression in E741.py (#168)
This commit is contained in:
committed by
GitHub
parent
4e0807e908
commit
825777edc1
@@ -431,6 +431,11 @@ mod tests {
|
||||
location: Location::new(71, 1),
|
||||
fix: None,
|
||||
},
|
||||
Check {
|
||||
kind: CheckKind::AmbiguousVariableName("l".to_string()),
|
||||
location: Location::new(74, 5),
|
||||
fix: None,
|
||||
},
|
||||
];
|
||||
|
||||
assert_eq!(actual.len(), expected.len());
|
||||
|
||||
Reference in New Issue
Block a user