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

Unified Diff: tests/isolate/mandel_isolate_test.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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 | « tests/corelib/stopwatch_test.dart ('k') | tests/language/arithmetic_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/mandel_isolate_test.dart
diff --git a/tests/isolate/mandel_isolate_test.dart b/tests/isolate/mandel_isolate_test.dart
index 7f370c97b4b0b06176211e5c80d196b040e4d9a7..1f9b13dbd089e39de31576dd210b563958c64276 100644
--- a/tests/isolate/mandel_isolate_test.dart
+++ b/tests/isolate/mandel_isolate_test.dart
@@ -4,6 +4,7 @@
#library('MandelIsolateTest');
#import('dart:isolate');
+#import('dart:math');
#import('../../pkg/unittest/unittest.dart');
final TERMINATION_MESSAGE = -1;
@@ -16,7 +17,7 @@ main() {
state._validated.future.then(expectAsync1((result) {
expect(result, isTrue);
}));
- for (int i = 0; i < Math.min(ISOLATES, N); i++) state.startClient(i);
+ for (int i = 0; i < min(ISOLATES, N); i++) state.startClient(i);
});
}
« no previous file with comments | « tests/corelib/stopwatch_test.dart ('k') | tests/language/arithmetic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698