| Index: pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart b/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
|
| index 7e77a87bb267b74284aad467b796ea74d2312897..eb6826ee0475e46ead9a9eb4425604fb078bd994 100644
|
| --- a/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
|
| @@ -242,6 +242,17 @@ void f(C<int> c) {
|
| });
|
| }
|
|
|
| + test_libraryPrefix_with_exports() {
|
| + addSource('/libA.dart', 'library libA; class A { }');
|
| + addSource('/libB.dart', 'library libB; export "/libA.dart"; class B { }');
|
| + addTestSource('import "/libB.dart" as foo; main() {foo.^} class C { }');
|
| + computeFast();
|
| + return computeFull((bool result) {
|
| + assertSuggestClass('B');
|
| + assertSuggestClass('A');
|
| + });
|
| + }
|
| +
|
| test_local() {
|
| addTestSource('foo() {String x = "bar"; x.^}');
|
| return computeFull((bool result) {
|
|
|