Fix context/builder_test.dart on Windows.

TBR

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/2411513002 .
This commit is contained in:
Konstantin Shcheglov 2016-10-10 15:24:36 -07:00
parent e79c120827
commit ee28ff0fe8

View file

@ -96,7 +96,8 @@ const Map<String, LibraryInfo> libraries = const {
resourceProvider = new MemoryResourceProvider();
pathContext = resourceProvider.pathContext;
new MockSdk(resourceProvider: resourceProvider);
sdkManager = new DartSdkManager('/sdk', false, (_) {
sdkManager =
new DartSdkManager(resourceProvider.convertPath('/sdk'), false, (_) {
fail('Should not be used to create an SDK');
});
contentCache = new ContentCache();