Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit c24ef90

Browse files
committed
Fix tests for list_remove_unrelated_type
1 parent 3a6c730 commit c24ef90

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/rules/list_remove_unrelated_type.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,8 @@ abstract class MyDerivedClass extends MyClass {
161161
}
162162

163163
abstract class MyMixedClass extends Object with MyClass {
164-
// No lint since is not List.
165-
bool myConcreteBadMethod(String thing) => this.remove(thing); // OK
166-
bool myConcreteBadMethod1(String thing) => remove(thing); // OK
164+
bool myConcreteBadMethod(String thing) => this.remove(thing); // LINT
165+
bool myConcreteBadMethod1(String thing) => remove(thing); // LINT
167166
}
168167

169168
abstract class MyListMixedClass extends Object

0 commit comments

Comments
 (0)