Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: tests/language/is_nan_test.dart

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698