Index: tests/compiler/dart2js/duplicate_library_test.dart |
diff --git a/tests/compiler/dart2js/duplicate_library_test.dart b/tests/compiler/dart2js/duplicate_library_test.dart |
index 01649814d05d531ba9ad1120ee48e7be30333166..80aa6fecd0821528975489fc87817c952298aa5b 100644 |
--- a/tests/compiler/dart2js/duplicate_library_test.dart |
+++ b/tests/compiler/dart2js/duplicate_library_test.dart |
@@ -8,6 +8,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/diagnostics/messages.dart' show MessageKind; |
import 'memory_compiler.dart'; |
@@ -30,7 +31,7 @@ Future test(Map<String, String> source, |
memorySourceFiles: source, |
diagnosticHandler: collector, |
showDiagnostics: true, |
- options: ['--analyze-only', '--analyze-all'], |
+ options: [Flags.analyzeOnly, Flags.analyzeAll], |
packageRoot: Uri.parse('memory:pkg/')); |
Expect.isTrue(collector.errors.isEmpty); |