mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
Attempt to fix DartEditBuilderImplTest on Windows.
TBR R=brianwilkerson@google.com BUG= Review-Url: https://codereview.chromium.org/2958803003 .
This commit is contained in:
parent
93ab0f107e
commit
9775892109
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue