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

Unified Diff: tests/language/operator5_test.dart

Issue 10697068: Change dart2js to follow the new spec on the equality operator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
« no previous file with comments | « tests/co19/co19-leg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/operator5_test.dart
diff --git a/tests/language/operator5_test.dart b/tests/language/operator5_test.dart
index 87c86fbb8c04163e1256ed1fc1fa47e8f467950c..224deb691ccbb4c6bfedaddeb3712a484cb0f3fa 100644
--- a/tests/language/operator5_test.dart
+++ b/tests/language/operator5_test.dart
@@ -21,7 +21,7 @@ equals(a) {
equalsNull(a) {
try {
- Expect.equals(1, a == null);
+ Expect.equals(false, a == null);
} catch(TypeError e) {
// In checked mode the test doesn't do anything.
}
@@ -54,6 +54,7 @@ greaterEqual(a) {
main() {
var a = new A();
equals(a);
+ equalsNull(a);
floitsch 2012/07/03 13:35:29 hehe.
less(a);
lessEqual(a);
greater(a);
« no previous file with comments | « tests/co19/co19-leg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698