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

Unified Diff: tests/corelib/list_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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/corelib/list_test.dart
diff --git a/tests/corelib/list_test.dart b/tests/corelib/list_test.dart
index a72a189dde51aabb9261ee4c47a14c6916d32d1a..a06451c3abd5d2edcd0ce770ab61d811d2faad22 100644
--- a/tests/corelib/list_test.dart
+++ b/tests/corelib/list_test.dart
@@ -582,7 +582,7 @@ class MyFixedList<E> extends ListBase<E> {
void testListConstructor() {
Expect.throws(() { new List(0).add(4); }); // Is fixed-length.
- Expect.throws(() { new List(-2); }); // Not negative. /// 01: ok
+ Expect.throws(() { new List(-2); }); // Not negative. //# 01: ok
Expect.throws(() { new List(null); }); // Not null.
Expect.listEquals([4], new List()..add(4));
Expect.throws(() { new List.filled(0, 42).add(4); }); // Is fixed-length.

Powered by Google App Engine
This is Rietveld 408576698