Merge branch 'master' into bump
diff --git a/test/formatter_test.dart b/test/formatter_test.dart
index 4e3df04..0960607 100644
--- a/test/formatter_test.dart
+++ b/test/formatter_test.dart
@@ -137,7 +137,7 @@
   var testDir = p.dirname(currentMirrorSystem()
       .findLibrary(#dart_style.test.formatter_test)
       .uri
-      .path);
+      .toFilePath());
 
   var entries = new Directory(p.join(testDir, name))
       .listSync(recursive: true, followLinks: false);
diff --git a/test/utils.dart b/test/utils.dart
index ba8796d..022fa28 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -22,7 +22,7 @@
   // Locate the "test" directory. Use mirrors so that this works with the test
   // package, which loads this suite into an isolate.
   var testDir = p.dirname(
-      currentMirrorSystem().findLibrary(#dart_style.test.utils).uri.path);
+      currentMirrorSystem().findLibrary(#dart_style.test.utils).uri.toFilePath());
 
   var formatterPath = p.normalize(p.join(testDir, "../bin/format.dart"));