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

Unified Diff: tests/language/src/ListLiteral3Test.dart

Issue 9289029: Added runtime type checking to the elements of list and map literals in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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/language/src/ListLiteral3Test.dart
diff --git a/tests/language/src/ListLiteral3Test.dart b/tests/language/src/ListLiteral3Test.dart
index 2db30a63e3407e5c8d0533fb0e0938a11347f435..ebc58d242b4e8313779f0408e4292d6575fc7a20 100644
--- a/tests/language/src/ListLiteral3Test.dart
+++ b/tests/language/src/ListLiteral3Test.dart
@@ -22,8 +22,8 @@ class ListLiteral3Test {
} catch (UnsupportedOperationException e) {
caughtException = true;
}
- Expect.equals(true, joke[0] === joke[1]);
Expect.equals(true, caughtException);
+ Expect.equals(true, joke[0] === joke[1]);
// Make sure lists allocated at runtime are mutable and are
// not canonicalized.

Powered by Google App Engine
This is Rietveld 408576698