anchor.diff:    // Find the path to sdk/ in the repo relative to this script.
     Uri libraryRoot = Uri.base.resolve('sdk/');
     Uri packageRoot = Uri.base.resolve('packages/');
  -  var platformDir = Uri.parse(Platform.resolvedExecutable).resolve('.');
  +  var platformDir =
  +      Uri.parse(nativeToUriPath(Platform.resolvedExecutable)).resolve('.');
     asyncTest(() => compiler.compile(
             entrypoint,
             libraryRoot,
  
positive.code: import "package:async_helper/async_helper.dart";
  
  import 'package:compiler/compiler.dart' as compiler;
  
  const SOURCES = const {
    "/main.dart": """
  
negative.code: // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file
  // for details. All rights reserved. Use of this source code is governed by a
  // BSD-style license that can be found in the LICENSE file.
  
  import "dart:async";
  import "dart:io";
  