Index: tests/compiler/dart2js/parser_test.dart |
diff --git a/tests/compiler/dart2js/parser_test.dart b/tests/compiler/dart2js/parser_test.dart |
index 5cff043d2b470b9b1d30df3d995abf245a7a45c4..3847f48b22cd9cf759c74d19c87c82f39a37ed0d 100644 |
--- a/tests/compiler/dart2js/parser_test.dart |
+++ b/tests/compiler/dart2js/parser_test.dart |
@@ -251,7 +251,7 @@ void testPostfix() { |
Expect.stringEquals("a", sendSet.receiver.toString()); |
Expect.stringEquals("b", sendSet.selector.toString()); |
Expect.stringEquals("++", sendSet.assignmentOperator.toString()); |
- Expect.isTrue(sendSet.arguments.isEmpty()); |
+ Expect.isTrue(sendSet.arguments.isEmpty); |
} |
void testOperatorParse() { |
@@ -260,7 +260,7 @@ void testOperatorParse() { |
Expect.isNotNull(name); |
Expect.stringEquals('operator', name.receiver.source.stringValue); |
Expect.stringEquals('-', name.selector.source.stringValue); |
- Expect.isTrue(function.parameters.isEmpty()); |
+ Expect.isTrue(function.parameters.isEmpty); |
Expect.isNull(function.returnType); |
Expect.isNull(function.getOrSet); |
} |