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 9e12791a6543eb172de5ef671d18fdf9938504de..10fc5a594476a96a9f3536a2cc6b00fa81a65cf4 100644 |
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
@@ -71,13 +71,8 @@ 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], |
- // TODO(johnniwinther): Use [WHITE_LIST] again when |
- // [Compiler.reportUnusedCode] is reenabled. |
- const {}, // WHITE_LIST |
- analyzeAll: false, |
- checkResults: checkResults)); |
+ asyncTest(() => analyze([uri], WHITE_LIST, |
+ analyzeAll: false, checkResults: checkResults)); |
} |
bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) { |