Index: tests/language/is_nan_test.dart |
diff --git a/tests/language/is_nan_test.dart b/tests/language/is_nan_test.dart |
index f4fa0f784f0106ed37223cb23d059f7361377da8..3edfebd3cc8ff9a69dc87f0ba86d5d071ccf34c5 100644 |
--- a/tests/language/is_nan_test.dart |
+++ b/tests/language/is_nan_test.dart |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
class A { |
- bool isNaN() => false; |
+ bool get isNaN => false; |
} |
main() { |
@@ -12,4 +12,4 @@ main() { |
Expect.throws(() => foo('bar'), (e) => e is NoSuchMethodError); |
} |
-foo(a) => a.isNaN(); |
+foo(a) => a.isNaN; |