| Index: tests/compiler/dart2js/warnings_checker.dart
|
| diff --git a/tests/compiler/dart2js/warnings_checker.dart b/tests/compiler/dart2js/warnings_checker.dart
|
| index cf3194332a38b0b758dfa90742eb3f89d343eb99..1652a1e48888d682bace4ad5e9482087a5bd6ff2 100644
|
| --- a/tests/compiler/dart2js/warnings_checker.dart
|
| +++ b/tests/compiler/dart2js/warnings_checker.dart
|
| @@ -10,6 +10,7 @@ import 'dart:io';
|
| import 'package:expect/expect.dart';
|
| import 'package:async_helper/async_helper.dart';
|
| import 'memory_compiler.dart';
|
| +import 'package:compiler/src/commandline_options.dart';
|
| import 'package:compiler/src/filenames.dart';
|
| import 'package:compiler/src/io/source_file.dart';
|
| import 'package:compiler/src/source_file_provider.dart';
|
| @@ -41,7 +42,7 @@ void checkWarnings(Map<String, dynamic> tests, [List<String> arguments]) {
|
| await runCompiler(
|
| entryPoint: uri,
|
| diagnosticHandler: collector,
|
| - options: ['--analyze-only'],
|
| + options: [Flags.analyzeOnly],
|
| showDiagnostics: verbose);
|
| Map<String, List<int>> statusMap = tests[test];
|
| // Line numbers with known unexpected warnings.
|
|
|