Index: tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
diff --git a/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart b/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
index ac726143b684edde5e2ea9138de1d927ec19433c..98555eac7afbe501c89b048446d95f547c45ba8d 100644 |
--- a/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
+++ b/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
@@ -11,6 +11,7 @@ import 'package:compiler/compiler_new.dart' show |
Diagnostic; |
import 'package:compiler/src/apiimpl.dart' show |
Compiler; |
+import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/constants/expressions.dart' show |
ConstructedConstantExpression; |
import 'package:compiler/src/dart_types.dart' show |
@@ -36,11 +37,11 @@ main(List<String> arguments) { |
bool verbose = arguments.contains('-v'); |
List<String> options = <String>[ |
- '--analyze-only', |
- '--analyze-main', |
+ Flags.analyzeOnly, |
+ Flags.analyzeMain, |
'--categories=Client,Server']; |
if (verbose) { |
- options.add('--verbose'); |
+ options.add(Flags.verbose); |
} |
asyncTest(() async { |
Compiler compiler = compilerFor( |