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

Unified Diff: packages/analyzer/test/file_system/memory_file_system_test.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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 | « packages/analyzer/pubspec.yaml ('k') | packages/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/analyzer/test/file_system/memory_file_system_test.dart
diff --git a/packages/analyzer/test/file_system/memory_file_system_test.dart b/packages/analyzer/test/file_system/memory_file_system_test.dart
index 3d239ae8a1894e82e5a767a57939d0a271127f5c..d0d3e5573f87f201b6cfbf26e8300fe27666ebab 100644
--- a/packages/analyzer/test/file_system/memory_file_system_test.dart
+++ b/packages/analyzer/test/file_system/memory_file_system_test.dart
@@ -339,6 +339,13 @@ class MemoryFileSourceExistingTest {
expect(relative.path, '/foo/bar/baz.dart');
}
+ void test_resolveRelative_dart() {
+ File file = provider.newFile('/sdk/lib/core/core.dart', '');
+ Source source = file.createSource(Uri.parse('dart:core'));
+ Uri resolved = source.resolveRelativeUri(Uri.parse('int.dart'));
+ expect(resolved.toString(), 'dart:core/int.dart');
+ }
+
void test_shortName() {
expect(source.shortName, 'test.dart');
}
« no previous file with comments | « packages/analyzer/pubspec.yaml ('k') | packages/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698