Index: runtime/tests/vm/dart/byte_array_test.dart |
diff --git a/runtime/tests/vm/dart/byte_array_test.dart b/runtime/tests/vm/dart/byte_array_test.dart |
index c418e56d69ee66893ab6bff97c1435f45a57ce95..3d7fe600b76229cbd5914bbe743ef7e3332ab15b 100644 |
--- a/runtime/tests/vm/dart/byte_array_test.dart |
+++ b/runtime/tests/vm/dart/byte_array_test.dart |
@@ -882,8 +882,8 @@ class ByteArrayTest { |
Expect.equals(0xFFFFFFFF, byte_array.getUint32(0)); |
Expect.equals(-1, byte_array.getInt64(0)); |
Expect.equals(0xFFFFFFFFFFFFFFFF, byte_array.getUint64(0)); |
- Expect.isTrue(byte_array.getFloat32(0).isNaN()); |
- Expect.isTrue(byte_array.getFloat64(0).isNaN()); |
+ Expect.isTrue(byte_array.getFloat32(0).isNaN); |
+ Expect.isTrue(byte_array.getFloat64(0).isNaN); |
for (int i = 0; i < array.length; ++i) { |
array[i] = 0xFF - i; |
} |