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

Unified Diff: tests/corelib/nan_infinity_test.dart

Issue 1160453003: Fix 23563: double unary- operator unstable for NANs (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: s Created 5 years, 7 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 | « runtime/vm/bootstrap_natives.h ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/nan_infinity_test.dart
diff --git a/tests/corelib/nan_infinity_test.dart b/tests/corelib/nan_infinity_test.dart
index 949658458d89ae55e1a2296d4cc27f9994b4f589..6957b058b4c19c31785ff4fba08aafbbb9965035 100644
--- a/tests/corelib/nan_infinity_test.dart
+++ b/tests/corelib/nan_infinity_test.dart
@@ -54,7 +54,7 @@ void main() {
Expect.isFalse(identical(double.NAN, double.INFINITY));
Expect.isFalse(identical(double.NAN, double.NEGATIVE_INFINITY));
Expect.isFalse(identical(double.INFINITY, double.NEGATIVE_INFINITY));
- Expect.isTrue(identical(double.NAN, -double.NAN)); /// 01: continued
+ Expect.isFalse(identical(double.NAN, -double.NAN));
Expect.isTrue(identical(double.INFINITY, -double.NEGATIVE_INFINITY));
Expect.isTrue(identical(double.NEGATIVE_INFINITY, -double.INFINITY));
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698