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

Unified Diff: runtime/tests/vm/dart/byte_array_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: 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;
}

Powered by Google App Engine
This is Rietveld 408576698