Index: utils/tests/pub/yaml_test.dart |
diff --git a/utils/tests/pub/yaml_test.dart b/utils/tests/pub/yaml_test.dart |
index 85cbdf81b7142bc93fa5730255672f61670c0785..889923e54d2923102eacb88e82afd4acf1781e9b 100644 |
--- a/utils/tests/pub/yaml_test.dart |
+++ b/utils/tests/pub/yaml_test.dart |
@@ -4,8 +4,6 @@ |
library yaml_test; |
-import 'dart:math'; |
- |
import '../../../pkg/unittest/lib/unittest.dart'; |
import '../../pub/yaml/yaml.dart'; |
import '../../pub/yaml/deep_equals.dart'; |
@@ -32,8 +30,8 @@ expectYamlStreamLoads(List expected, String source) { |
} |
main() { |
- var infinity = parseDouble("Infinity"); |
- var nan = parseDouble("NaN"); |
+ var infinity = double.parse("Infinity"); |
+ var nan = double.parse("NaN"); |
group('YamlMap', () { |
group('accepts as a key', () { |