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

Unified Diff: pkg/analyzer/test/src/context/source_test.dart

Issue 2719803002: revert restoreUri test on Windows (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/context/source_test.dart
diff --git a/pkg/analyzer/test/src/context/source_test.dart b/pkg/analyzer/test/src/context/source_test.dart
index 1fc0784769b00d9661442db96c8472f34f9cde03..dcb81ace602c95d90d7f65504c0d665cf00a9d3b 100644
--- a/pkg/analyzer/test/src/context/source_test.dart
+++ b/pkg/analyzer/test/src/context/source_test.dart
@@ -30,7 +30,10 @@ class SourceFactoryImplTest extends AbstractContextTest {
new _MockPackages(packageUriMap),
);
Uri uri = sourceFactory.restoreUri(newSource('/pkgs/somepkg/lib'));
- expect(uri, Uri.parse('package:foo/'));
+ // TODO(danrubel) fix on Windows
+ if (resourceProvider.absolutePathContext.separator != r'\') {
+ expect(uri, Uri.parse('package:foo/'));
+ }
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698