Index: pkg/analyzer/test/src/dart/sdk/sdk_test.dart |
diff --git a/pkg/analyzer/test/src/dart/sdk/sdk_test.dart b/pkg/analyzer/test/src/dart/sdk/sdk_test.dart |
index 3abf7c2625dd148fc267c38344c96093f9b7a126..e2d9071139b98f406ccaa0fb1e3b1b57014b6271 100644 |
--- a/pkg/analyzer/test/src/dart/sdk/sdk_test.dart |
+++ b/pkg/analyzer/test/src/dart/sdk/sdk_test.dart |
@@ -250,6 +250,17 @@ class FolderBasedDartSdkTest { |
expect(version.length > 0, isTrue); |
} |
+ /** |
+ * The "part" format should result in the same source as the non-part format |
+ * when the file is the library file. |
+ */ |
+ void test_mapDartUri_partFormatForLibrary() { |
+ FolderBasedDartSdk sdk = _createDartSdk(); |
+ Source normalSource = sdk.mapDartUri('dart:core'); |
+ Source partSource = sdk.mapDartUri('dart:core/core.dart'); |
+ expect(partSource, normalSource); |
+ } |
+ |
void test_useSummary_afterContextCreation() { |
FolderBasedDartSdk sdk = _createDartSdk(); |
sdk.context; |