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

Unified Diff: pkg/analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test.dart

Issue 2958803003: Attempt to fix DartEditBuilderImplTest on Windows. (Closed)
Patch Set: Created 3 years, 6 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_plugin/test/src/utilities/change_builder/change_builder_dart_test.dart
diff --git a/pkg/analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test.dart b/pkg/analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test.dart
index 5deadf51d3a448782e7a16764a5ad16e4042d1d2..608bc0b6ed0a7e6a201470a85f6cee9f29e85ee3 100644
--- a/pkg/analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test.dart
+++ b/pkg/analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test.dart
@@ -1365,7 +1365,8 @@ f(int i, String s) {
DartChangeBuilderImpl builder = new DartChangeBuilderImpl(driver);
await builder.addFileEdit(path, 1, (DartFileEditBuilder builder) {
Iterable<_MockSource> sources = newUris.map((newUri) {
- String path = newUri.contains(':') ? null : '/$newUri';
+ String path =
+ newUri.contains(':') ? null : provider.convertPath('/$newUri');
return new _MockSource(path, Uri.parse(newUri));
});
builder.importLibraries(sources);
« 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