Index: pkg/yaml/test/yaml_test.dart |
diff --git a/pkg/yaml/test/yaml_test.dart b/pkg/yaml/test/yaml_test.dart |
index 6013dc9457cceef207a8d5d6ba4ea74e66cf90c8..047c2738b0ece879e7ba0e25095424529a6f964e 100644 |
--- a/pkg/yaml/test/yaml_test.dart |
+++ b/pkg/yaml/test/yaml_test.dart |
@@ -1350,8 +1350,7 @@ main() { |
bar: invalid ]"""))); |
// TODO(nweiz): enable this when we throw an error for long keys |
- // var dotList = []; |
- // dotList.insertRange(0, 1024, ' '); |
+ // var dotList = new List.filled(1024, ' '); |
// var dots = dotList.join(); |
// Expect.throws(() => loadYaml('[ "foo...$dots...bar": invalid ]')); |
}); |