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

Unified Diff: tests/standalone/io/file_invalid_arguments_test.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 7 years, 10 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: tests/standalone/io/file_invalid_arguments_test.dart
diff --git a/tests/standalone/io/file_invalid_arguments_test.dart b/tests/standalone/io/file_invalid_arguments_test.dart
index 4be142ad7997d526fcf3c353e5b3221707d22a27..26c95578da8657bf277f8e1a570a7f60382f5e2e 100644
--- a/tests/standalone/io/file_invalid_arguments_test.dart
+++ b/tests/standalone/io/file_invalid_arguments_test.dart
@@ -144,10 +144,10 @@ String getFilename(String path) {
main() {
testReadInvalidArgs('asdf');
testReadListInvalidArgs(12, 0, 1);
- testReadListInvalidArgs(new List.fixedLength(10), '0', 1);
- testReadListInvalidArgs(new List.fixedLength(10), 0, '1');
+ testReadListInvalidArgs(new List(10), '0', 1);
+ testReadListInvalidArgs(new List(10), 0, '1');
testWriteByteInvalidArgs('asdf');
testWriteListInvalidArgs(12, 0, 1);
- testWriteListInvalidArgs(new List.fixedLength(10), '0', 1);
- testWriteListInvalidArgs(new List.fixedLength(10), 0, '1');
+ testWriteListInvalidArgs(new List(10), '0', 1);
+ testWriteListInvalidArgs(new List(10), 0, '1');
}

Powered by Google App Engine
This is Rietveld 408576698