anchor.diff:          _barbackDeps.forEach((constraint, deps) {
             if (!constraint.allows(version)) return;
             deps.forEach((packageName, version) {
  -            _packageOverrides[packageName] = path.join(
  +            _packageOverrides[packageName] = p.join(
                   repoRoot, 'third_party', 'pkg', '$packageName-$version');
             });
           });
  
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:   sources.register(new HostedSource());
    sources.register(new PathSource());
  
    d.file(p.join(package, 'pubspec.lock'),
        lockFile.serialize(null, sources)).create();
  }
  
  