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

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

Issue 8676001: Implement type checking of list literals (issue 220). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « tests/language/language.status ('k') | tests/language/src/ListLiteral1NegativeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/CanonicalConstTest.dart
===================================================================
--- tests/language/src/CanonicalConstTest.dart (revision 1805)
+++ tests/language/src/CanonicalConstTest.dart (working copy)
@@ -25,7 +25,7 @@
Expect.isTrue(const [2,1] !== const[1,2]);
Expect.isTrue(const <int>[1,2] === const <int>[1,2]);
Expect.isTrue(const <Object>[1,2] === const <Object>[1,2]);
- Expect.isTrue(const <int>[1,2] !== const <double>[1,2]);
+ Expect.isTrue(const <int>[1,2] !== const <double>[1.0,2.0]);
Expect.isTrue(const {"a":1, "b":2} === const {"a":1, "b":2});
Expect.isTrue(const {"a":1, "b":2} !== const {"a":2, "b":2});
}
« no previous file with comments | « tests/language/language.status ('k') | tests/language/src/ListLiteral1NegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698