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

Unified Diff: tests/lib/math/point_test.dart

Issue 332663002: pkg/matcher: add isNaN and isNotNaN matchers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removing parens Created 6 years, 5 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
« no previous file with comments | « pkg/matcher/test/core_matchers_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/math/point_test.dart
diff --git a/tests/lib/math/point_test.dart b/tests/lib/math/point_test.dart
index 8d9ab72663ce2b4323a727455c1484818b71359f..93d6c4ab105d2eecfce117af7ab2065197ac1e23 100644
--- a/tests/lib/math/point_test.dart
+++ b/tests/lib/math/point_test.dart
@@ -38,7 +38,7 @@ main() {
test('constructor X Y NaN', () {
var point = new Point(double.NAN, 1000);
- expect(point.x.isNaN, isTrue);
+ expect(point.x, isNaN);
expect(point.y, 1000);
expect('$point', 'Point(NaN, 1000)');
});
« no previous file with comments | « pkg/matcher/test/core_matchers_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698