Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: pkg/analyzer/test/generated/non_error_resolver_test.dart

Issue 1863103002: Add an UNUSED_SHOWN_NAMES hint to the analyzer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/generated/non_error_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart
index fd3a4229cf269b9249b6dedb4887c4d933f2318e..8b4cd5e370d360427d673a97246736f2a2ebe2f6 100644
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
@@ -167,7 +167,7 @@ library lib2;
class N {}
class N2 {}''');
computeLibrarySourceErrors(source);
- assertNoErrors(source);
+ assertErrors(source, [HintCode.UNUSED_SHOWN_NAME]);
}
void test_annotated_partOfDeclaration() {

Powered by Google App Engine
This is Rietveld 408576698