Index: pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
diff --git a/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart b/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
index cdbbcf64c7ec167fb0a8daf1f9bcf5d802584bf8..8d91d2454dd517b54ee4e1cc9f00f3af34faab0c 100644 |
--- a/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
+++ b/pkg/analyzer/test/file_system/resource_uri_resolver_test.dart |
@@ -54,5 +54,9 @@ class ResourceUriResolverTest { |
Source source = resolver.resolveAbsolute(uri); |
expect(source, isNotNull); |
expect(resolver.restoreAbsolute(source), uri); |
+ expect( |
+ resolver.restoreAbsolute( |
+ new NonExistingSource(source.fullName, null, null)), |
+ uri); |
} |
} |