| Index: pkg/analyzer/test/generated/bazel_test.dart
|
| diff --git a/pkg/analyzer/test/generated/bazel_test.dart b/pkg/analyzer/test/generated/bazel_test.dart
|
| index 884ffb56ca9cfdf7132abb455081e19a3e593a15..09f4cc89dc401d60c875385c7e15c6e726ebfcee 100644
|
| --- a/pkg/analyzer/test/generated/bazel_test.dart
|
| +++ b/pkg/analyzer/test/generated/bazel_test.dart
|
| @@ -438,6 +438,16 @@ class BazelPackageUriResolverTest extends _BaseTest {
|
| _assertRestore('/workspace/my/foo/lib', null);
|
| }
|
|
|
| + void test_restoreAbsolute_thirdPartyNotDart_workspace() {
|
| + _addResources([
|
| + '/workspace/WORKSPACE',
|
| + '/workspace/bazel-genfiles/',
|
| + '/workspace/third_party/something/lib/foo.dart',
|
| + ]);
|
| + _assertRestore('/workspace/third_party/something/lib/foo.dart',
|
| + 'package:third_party.something/foo.dart');
|
| + }
|
| +
|
| void _addResources(List<String> paths, {String workspacePath: '/workspace'}) {
|
| for (String path in paths) {
|
| if (path.endsWith('/')) {
|
|
|