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)'); |
}); |