| 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 1be8c5ba9df826c388194dd0a97564257cd33728..615648731c4e6beb68524d317b32e512ef3fd106 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -5770,6 +5770,17 @@ main() {
|
| verify([source]);
|
| }
|
|
|
| + void test_unusedShownName_unresolved() {
|
| + Source source = addSource(r'''
|
| +import 'dart:math' show max, FooBar;
|
| +main() {
|
| + print(max(1, 2));
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertErrors(source, [HintCode.UNDEFINED_SHOWN_NAME]);
|
| + }
|
| +
|
| void test_uriDoesNotExist_dll() {
|
| addNamedSource("/lib.dll", "");
|
| Source source = addSource("import 'dart-ext:lib';");
|
|
|