anchor.diff:    dependencies.forEach((name, dependencyPath) {
       var id = new PackageId(name, 'path', new Version(0, 0, 0), {
         'path': dependencyPath,
  -      'relative': path.isRelative(dependencyPath)
  +      'relative': p.isRelative(dependencyPath)
       });
       lockFile.packages[name] = id;
     });
  
positive.code: }
  
  /// The path to the `packages` directory from which pub loads its dependencies.
  String get _packageRoot => path.absolute(Platform.packageRoot);
  
  /// Fails the current test if Git is not installed.
  ///
  
negative.code:       if (_packageOverrides.containsKey(package)) {
          packagePath = _packageOverrides[package];
        } else {
          packagePath = p.join(pkgPath, package);
        }
  
        dependencies[package] = packagePath;
        var pubspec = loadYaml(
            readTextFile(p.join(packagePath, 'pubspec.yaml')));
        var packageDeps = pubspec['dependencies'];
        if (packageDeps == null) return;
        packageDeps.keys.forEach(_addPackage);
  