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', () { |