| 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 8c68b18d92064f24d938922819326cf5aa670adc..a859186ce5fbe37fec6644167386b710699d791e 100644
|
| --- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
|
| +++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
|
| @@ -70,8 +70,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) {
|
|
|