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 28e53e87e484e06e24bc3c297828f5b5b54536d1..25e660df4db518da64adb919df9a39e3944350ef 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.stringEquals('negate', name.selector.source.stringValue); |
+ Expect.equals(buildSourceString('negate'), name.selector.source); |
Expect.isTrue(function.parameters.isEmpty()); |
Expect.isNull(function.returnType); |
Expect.isNull(function.getOrSet); |