Index: tests/compiler/dart2js/value_range3_test.dart |
diff --git a/tests/compiler/dart2js/value_range3_test.dart b/tests/compiler/dart2js/value_range3_test.dart |
index 5a483eda5c24aafba8bdcca65077bae988d0e4c5..2e65cee3a8780b83a90f549c0f2ccda2deade802 100644 |
--- a/tests/compiler/dart2js/value_range3_test.dart |
+++ b/tests/compiler/dart2js/value_range3_test.dart |
@@ -26,7 +26,7 @@ main() { |
asyncTest(() async { |
var result = await runCompiler(memorySourceFiles: MEMORY_SOURCE_FILES); |
var compiler = result.compiler; |
- var element = compiler.mainApp.findExported('main'); |
+ var element = compiler.mainFunction; |
var code = compiler.backend.assembleCode(element); |
Expect.isFalse(code.contains('ioore')); |
}); |