| Index: pkg/analysis_server/test/mock_sdk.dart
|
| diff --git a/pkg/analysis_server/test/mock_sdk.dart b/pkg/analysis_server/test/mock_sdk.dart
|
| index 19679949589216055fef65a1841630243843d109..504ecd97cba53fe4733a692b61b3ea532f8cc2d8 100644
|
| --- a/pkg/analysis_server/test/mock_sdk.dart
|
| +++ b/pkg/analysis_server/test/mock_sdk.dart
|
| @@ -223,10 +223,9 @@ class HtmlElement {}
|
| for (SdkLibrary library in LIBRARIES) {
|
| String libraryPath = library.path;
|
| if (filePath.replaceAll('\\', '/') == libraryPath) {
|
| - String path = library.shortName;
|
| try {
|
| resource.File file = provider.getResource(uri.path);
|
| - Uri dartUri = new Uri(scheme: 'dart', path: path);
|
| + Uri dartUri = Uri.parse(library.shortName);
|
| return file.createSource(dartUri);
|
| } catch (exception) {
|
| return null;
|
|
|