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

Unified Diff: tests/language/operator5_test.dart

Issue 10698079: Revert all the changes to equals operator. Causing buildbot trouble. (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/compiler/dart2js/constant_folding_test.dart ('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 52c9bcb9894e0c0fc20a29483499c2a5c3edf8e5..87c86fbb8c04163e1256ed1fc1fa47e8f467950c 100644
--- a/tests/language/operator5_test.dart
+++ b/tests/language/operator5_test.dart
@@ -19,6 +19,14 @@ equals(a) {
}
}
+equalsNull(a) {
+ try {
+ Expect.equals(1, a == null);
+ } catch(TypeError e) {
+ // In checked mode the test doesn't do anything.
+ }
+}
+
less(a) {
try {
Expect.equals(null, a < a);
« no previous file with comments | « tests/compiler/dart2js/constant_folding_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698