Index: tests/compiler/dart2js/bad_loop_test.dart |
diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart |
index 82d8607f9202b0dd86a6ced5db8c02f94a680d9d..bd1053c70d8d14e68d8657bd2136589ca31c3305 100644 |
--- a/tests/compiler/dart2js/bad_loop_test.dart |
+++ b/tests/compiler/dart2js/bad_loop_test.dart |
@@ -8,6 +8,7 @@ import "package:async_helper/async_helper.dart"; |
import 'package:compiler/compiler.dart' |
show Diagnostic; |
+import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/old_to_new_api.dart'; |
main() { |
@@ -38,7 +39,7 @@ main() { |
new LegacyCompilerDiagnostics(diagnosticHandler), |
libraryRoot, |
packageRoot, |
- ['--analyze-only'], |
+ [Flags.analyzeOnly], |
{}); |
asyncTest(() => compiler.run(Uri.parse('memory:main.dart')).then((_) { |
Expect.isTrue(compiler.compilationFailed); |