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

Unified Diff: dart/tests/compiler/dart2js/parser_test.dart

Issue 10892005: Revert "Support unary - operator." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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 | « dart/tests/compiler/dart2js/mirrors_helper.dart ('k') | dart/tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js/parser_test.dart
diff --git a/dart/tests/compiler/dart2js/parser_test.dart b/dart/tests/compiler/dart2js/parser_test.dart
index 25e660df4db518da64adb919df9a39e3944350ef..28e53e87e484e06e24bc3c297828f5b5b54536d1 100644
--- a/dart/tests/compiler/dart2js/parser_test.dart
+++ b/dart/tests/compiler/dart2js/parser_test.dart
@@ -260,7 +260,7 @@ void testOperatorParse() {
Send name = function.name.asSend();
Expect.isNotNull(name);
Expect.stringEquals('operator', name.receiver.source.stringValue);
- Expect.equals(buildSourceString('negate'), name.selector.source);
+ Expect.stringEquals('negate', name.selector.source.stringValue);
Expect.isTrue(function.parameters.isEmpty());
Expect.isNull(function.returnType);
Expect.isNull(function.getOrSet);
« no previous file with comments | « dart/tests/compiler/dart2js/mirrors_helper.dart ('k') | dart/tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698