| Index: tests/compiler/dart2js/parser_test.dart
|
| diff --git a/tests/compiler/dart2js/parser_test.dart b/tests/compiler/dart2js/parser_test.dart
|
| index 552692281b8d5deeb3715bda5bfd657812063fce..9b47f8d07aa0ff7273bc725bd05e3b58507371e7 100644
|
| --- a/tests/compiler/dart2js/parser_test.dart
|
| +++ b/tests/compiler/dart2js/parser_test.dart
|
| @@ -259,8 +259,8 @@ void testOperatorParse() {
|
| FunctionExpression function = parseMember('operator -() => null;');
|
| Send name = function.name.asSend();
|
| Expect.isNotNull(name);
|
| - Expect.stringEquals('operator', name.receiver.source);
|
| - Expect.stringEquals('-', name.selector.source);
|
| + Expect.stringEquals('operator', name.receiver.toString());
|
| + Expect.stringEquals('-', name.selector.toString());
|
| Expect.isTrue(function.parameters.isEmpty);
|
| Expect.isNull(function.returnType);
|
| Expect.isNull(function.getOrSet);
|
| @@ -285,6 +285,8 @@ class Collector implements DiagnosticListener {
|
| void log(message) {
|
| print(message);
|
| }
|
| +
|
| + noSuchMethod(Invocation invocation) => throw 'unsupported operation';
|
| }
|
|
|
| void testMissingCloseParen() {
|
|
|