Index: tests/compiler/dart2js/message_kind_test.dart |
diff --git a/tests/compiler/dart2js/message_kind_test.dart b/tests/compiler/dart2js/message_kind_test.dart |
index 3ed701011bd3d6b896c9ca39c93615036e77aaa6..c3954f0191ab066c8d12c3ddeae9336a6f200a74 100644 |
--- a/tests/compiler/dart2js/message_kind_test.dart |
+++ b/tests/compiler/dart2js/message_kind_test.dart |
@@ -27,7 +27,12 @@ main(List<String> arguments) { |
|| name == 'PLEASE_REPORT_THE_CRASH' |
// We cannot provide examples for patch errors. |
|| name.startsWith('PATCH_') |
- || name == 'LIBRARY_NOT_SUPPORTED') continue; |
+ || name == 'LIBRARY_NOT_SUPPORTED' |
+ // TODO(johnniwinther): Remove these when [Compiler.reportUnusedCode] is |
+ // reenabled. |
+ || name == 'UNUSED_METHOD' |
+ || name == 'UNUSED_CLASS' |
+ || name == 'UNUSED_TYPEDEF') continue; |
if (template.examples != null) { |
examples.add(template); |
} else { |