Index: tests/compiler/dart2js/in_user_code_test.dart |
diff --git a/tests/compiler/dart2js/in_user_code_test.dart b/tests/compiler/dart2js/in_user_code_test.dart |
index 98704916f7a8b91feba188afd0eb030c4e700e4a..0a6e13f2fbe337d61f15b35ea86c5d040b58185e 100644 |
--- a/tests/compiler/dart2js/in_user_code_test.dart |
+++ b/tests/compiler/dart2js/in_user_code_test.dart |
@@ -7,6 +7,7 @@ |
import 'dart:async'; |
import 'package:async_helper/async_helper.dart'; |
import 'package:expect/expect.dart'; |
+import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/compiler.dart' show Compiler; |
import 'memory_compiler.dart'; |
@@ -47,7 +48,7 @@ Future test(List<Uri> entryPoints, Map<String, bool> expectedResults) async { |
CompilationResult result = await runCompiler( |
entryPoints: entryPoints, |
memorySourceFiles: SOURCE, |
- options: ['--analyze-only', '--analyze-all'], |
+ options: [Flags.analyzeOnly, Flags.analyzeAll], |
packageRoot: Uri.parse('memory:pkg/')); |
Compiler compiler = result.compiler; |
expectedResults.forEach((String uri, bool expectedResult) { |