Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: pkg/analyzer/test/source/sdk_ext_test.dart

Issue 1294473009: Fix script entry case of SdkExtUriResolver.restoreAbsolute (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/source/sdk_ext.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/source/sdk_ext_test.dart
diff --git a/pkg/analyzer/test/source/sdk_ext_test.dart b/pkg/analyzer/test/source/sdk_ext_test.dart
index 5f928daa2bee67c4690ceb61fa429feed4d4738b..01416af8ed1db36f78c5a2900f565d0ede3473cb 100644
--- a/pkg/analyzer/test/source/sdk_ext_test.dart
+++ b/pkg/analyzer/test/source/sdk_ext_test.dart
@@ -60,20 +60,6 @@ main() {
expect(restoreUri.scheme, equals('dart'));
expect(restoreUri.path, equals('fox'));
});
- test('test_resolvePart', () {
- var resolver = new SdkExtUriResolver({
- 'fox': [resourceProvider.getResource('/tmp')]
- });
- var source = resolver.resolveAbsolute(Uri.parse('dart:fox/foo.dart'));
- expect(source, isNotNull);
- // Restore source's uri.
- var restoreUri = resolver.restoreAbsolute(source);
- expect(restoreUri, isNotNull);
- // Verify that it is 'dart:fox/foo.dart'.
- expect(restoreUri.toString(), equals('dart:fox/foo.dart'));
- expect(restoreUri.scheme, equals('dart'));
- expect(restoreUri.path, equals('fox/foo.dart'));
- });
});
}
« no previous file with comments | « pkg/analyzer/lib/source/sdk_ext.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698