Index: tests/language/compile_time_constant_b_test.dart |
diff --git a/tests/language/compile_time_constant_b_test.dart b/tests/language/compile_time_constant_b_test.dart |
index e7c3be1269b679510764ea20b062b5bc97aaae53..7dce3cf8fd0a5f7b564c51cd2c8fa28b906b190a 100644 |
--- a/tests/language/compile_time_constant_b_test.dart |
+++ b/tests/language/compile_time_constant_b_test.dart |
@@ -25,7 +25,7 @@ main() { |
}); |
Expect.listEquals(['__proto__'], seenKeys); |
Expect.listEquals([499], seenValues); |
- Expect.isFalse(m1.isEmpty()); |
+ Expect.isFalse(m1.isEmpty); |
Expect.equals(1, m1.length); |
Expect.throws(() => m1.remove('__proto__'), isUnsupportedError); |
Expect.throws(() => m1.remove('b'), isUnsupportedError); |
@@ -57,7 +57,7 @@ main() { |
}); |
Expect.listEquals(['a', 'b'], seenKeys); |
Expect.listEquals([499, 42], seenValues); |
- Expect.isFalse(m2.isEmpty()); |
+ Expect.isFalse(m2.isEmpty); |
Expect.equals(2, m2.length); |
Expect.throws(() => m2.remove('a'), isUnsupportedError); |
Expect.throws(() => m2.remove('b'), isUnsupportedError); |