| Index: tests/compiler/dart2js/analyze_unused_dart2js_test.dart
|
| diff --git a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
|
| index 10fc5a594476a96a9f3536a2cc6b00fa81a65cf4..9e12791a6543eb172de5ef671d18fdf9938504de 100644
|
| --- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
|
| +++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
|
| @@ -71,8 +71,13 @@ const Map<String, List<String>> WHITE_LIST = const {
|
| void main() {
|
| var uri = currentDirectory.resolve(
|
| 'pkg/compiler/lib/src/use_unused_api.dart');
|
| - asyncTest(() => analyze([uri], WHITE_LIST,
|
| - analyzeAll: false, checkResults: checkResults));
|
| + asyncTest(() => analyze(
|
| + [uri],
|
| + // TODO(johnniwinther): Use [WHITE_LIST] again when
|
| + // [Compiler.reportUnusedCode] is reenabled.
|
| + const {}, // WHITE_LIST
|
| + analyzeAll: false,
|
| + checkResults: checkResults));
|
| }
|
|
|
| bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {
|
|
|