Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 9f209982a36b48faf774b0bbf804ca9c8bc71bd7..3581b17a125e1b1eafa67e3944e9f2e3bfc2cc1f 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -57,7 +57,7 @@ void expectHasBody(compiler, ElementX element) { |
void expectHasNoBody(compiler, ElementX element) { |
var node = element.parseNode(compiler.parsing); |
Expect.isNotNull(node, "Element isn't parseable, when a body was expected"); |
- Expect.isFalse(node.hasBody()); |
+ Expect.isFalse(node.hasBody); |
} |
Element ensure(compiler, |