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

Unified Diff: tools/testing/dart/test_options.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 | « tools/ddbg.dart ('k') | utils/css/css.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index 5fc44cf8034776791b36451371bde9c6be697b34..9a1bf49ab58ad8f561933681a36f412978591697 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -5,6 +5,7 @@
#library("test_options_parser");
#import("dart:io");
+#import("dart:math");
#import("drt_updater.dart");
#import("test_suite.dart");
@@ -338,7 +339,7 @@ Note: currently only implemented for dart2js.''',
configuration[spec.name] = true;
} else if (spec.type == 'int') {
try {
- configuration[spec.name] = Math.parseInt(value);
+ configuration[spec.name] = parseInt(value);
} catch (var e) {
print('Integer value expected for int option $name');
exit(1);
« no previous file with comments | « tools/ddbg.dart ('k') | utils/css/css.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698