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

Unified Diff: utils/tests/pub/yaml_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 | « utils/tests/pub/test_pub.dart ('k') | utils/tests/string_encoding/utf8_benchmarks.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/yaml_test.dart
diff --git a/utils/tests/pub/yaml_test.dart b/utils/tests/pub/yaml_test.dart
index 35d89b2186293bcec7826a1b01a58b742ce6a204..8616f488012945c79a87db26ab7c82bc0a049f26 100644
--- a/utils/tests/pub/yaml_test.dart
+++ b/utils/tests/pub/yaml_test.dart
@@ -4,6 +4,8 @@
#library('yaml_test');
+#import('dart:math');
+
#import('../../../pkg/unittest/unittest.dart');
#import('../../pub/yaml/yaml.dart');
#import('../../pub/yaml/deep_equals.dart');
@@ -34,8 +36,8 @@ expectYamlStreamLoads(List expected, String source) {
}
main() {
- var infinity = Math.parseDouble("Infinity");
- var nan = Math.parseDouble("NaN");
+ var infinity = parseDouble("Infinity");
+ var nan = parseDouble("NaN");
group('YamlMap', () {
group('accepts as a key', () {
« no previous file with comments | « utils/tests/pub/test_pub.dart ('k') | utils/tests/string_encoding/utf8_benchmarks.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698