anchor.diff:    }
   
     void test_toUri() {
  -    String path = '/foo/file.txt';
  +    String path = io.Platform.isWindows ? r'C:\foo\file.txt' : '/foo/file.txt';
       File file = PhysicalResourceProvider.INSTANCE.getFile(path);
       expect(file.toUri(), new Uri.file(path));
     }
  
positive.code:   }
  
    void test_renameSync_newExists_folder() {
      String oldPath = '$tempPath/file.txt';
      String newPath = '$tempPath/foo';
      new io.File(oldPath).writeAsStringSync('text');
      new io.Directory(newPath).createSync();
      File file = PhysicalResourceProvider.INSTANCE.getResource(oldPath);
  
negative.code:   }
  
    void test_renameSync_newDoesNotExist() {
      pathos.Context pathContext = PhysicalResourceProvider.INSTANCE.pathContext;
      String oldPath = pathContext.join(tempPath, 'file.txt');
      String newPath = pathContext.join(tempPath, 'new-file.txt');
      new io.File(oldPath).writeAsStringSync('text');
      File file = PhysicalResourceProvider.INSTANCE.getResource(oldPath);
      File newFile = file.renameSync(newPath);
  