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

Unified Diff: pkg/yaml/test/yaml_test.dart

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace type with var.wq Created 7 years, 8 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
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 ]'));
});

Powered by Google App Engine
This is Rietveld 408576698