Fix lints (#108)
diff --git a/test/wrapper_test.dart b/test/wrapper_test.dart
index 643c441..3270def 100644
--- a/test/wrapper_test.dart
+++ b/test/wrapper_test.dart
@@ -50,7 +50,7 @@
// Parameterization of noSuchMethod. Calls [_action] on every
// member invocation.
class InvocationChecker {
- Invocation _expected;
+ final Invocation _expected;
InvocationChecker(this._expected);
noSuchMethod(Invocation actual) {
testInvocations(_expected, actual);
@@ -399,8 +399,7 @@
expect(
set.where((element) => element.startsWith("f")), equals(["foo"]));
expect(set.where((element) => element.startsWith("z")), equals([]));
- expect(
- set.where((element) => element is String), equals(["foo", "bar"]));
+ expect(set.whereType<String>(), equals(["foo", "bar"]));
});
test(".containsAll", () {