anchor.diff:    }
   
     test_renameSync_newExists_file() async {
  -    String oldPath = '$tempPath/file.txt';
  -    String newPath = '$tempPath/new-file.txt';
  +    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');
       new io.File(newPath).writeAsStringSync('new text');
       File file = PhysicalResourceProvider.INSTANCE.getResource(oldPath);
  
positive.code:   }
  
    void test_toUri() {
      String path = '/foo/directory';
      Folder folder = PhysicalResourceProvider.INSTANCE.getFolder(path);
      expect(folder.toUri(), new Uri.directory(path));
    }
  
negative.code:   }
  
    void test_toUri() {
      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));
    }
  