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

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

Issue 11090016: Change core lib, dart2js, and more for new optional parameters syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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: tests/lib/math/coin_test.dart
===================================================================
--- tests/lib/math/coin_test.dart (revision 13588)
+++ tests/lib/math/coin_test.dart (working copy)
@@ -25,5 +25,5 @@
print("Heads: $heads\n"
"Tails: $tails\n"
"Ratio: ${heads/tails}\n");
- Expect.approxEquals(1.0, heads/tails, tolerance:0.1);
+ Expect.approxEquals(1.0, heads/tails, 0.1);
Lasse Reichstein Nielsen 2012/10/12 07:52:19 Unrelated comment: That looks flakey ... with ~1 f
}

Powered by Google App Engine
This is Rietveld 408576698