| Index: pkg/analyzer/test/generated/hint_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/hint_code_test.dart b/pkg/analyzer/test/generated/hint_code_test.dart
|
| index 168c471b77b27e84b097f4c42aa36ab252430c12..d8fa536a18a24328b831358ed52c7c4893bfeca6 100644
|
| --- a/pkg/analyzer/test/generated/hint_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/hint_code_test.dart
|
| @@ -1710,6 +1710,26 @@ m(i) {
|
| verify([source]);
|
| }
|
|
|
| + void test_undefinedIdentifier_hide() {
|
| + Source source = addSource(r'''
|
| +library L;
|
| +export 'lib1.dart' hide a;''');
|
| + addNamedSource("/lib1.dart", "library lib1;");
|
| + computeLibrarySourceErrors(source);
|
| + assertErrors(source, [HintCode.UNDEFINED_HIDDEN_NAME]);
|
| + verify([source]);
|
| + }
|
| +
|
| + void test_undefinedIdentifier_show() {
|
| + Source source = addSource(r'''
|
| +library L;
|
| +export 'lib1.dart' show a;''');
|
| + addNamedSource("/lib1.dart", "library lib1;");
|
| + computeLibrarySourceErrors(source);
|
| + assertErrors(source, [HintCode.UNDEFINED_SHOWN_NAME]);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_undefinedGetter() {
|
| Source source = addSource(r'''
|
| class A {}
|
|
|