anchor.diff:          ]),
           dir('foo-dep', [
             file('foo-dep.dart', 'main() => "foo-dep";')
  -        ]),
  -        dir('bar', [
  -          file('bar.dart', 'main() => "bar";'),
  -          file('pubspec.yaml', '''
  -dependencies:
  -  bar-dep:
  -    git: ../bar-dep.git
  -''')
  -        ]),
  -        dir('bar-dep', [
  -          file('bar-dep.dart', 'main() => "bar-dep";')
           ])
         ]).scheduleValidate();
  +
  +      git('foo.git', [
  +        file('foo.dart', 'main() => "foo 2";'),
  +        file('pubspec.yaml', '''
  +dependencies:
  +  foo-dep:
  +    git: ../foo-dep.git
  +''')
  +      ]).scheduleCreate();
   
         git('foo-dep.git', [
           file('foo-dep.dart', 'main() => "foo-dep 2";')
         ]).scheduleCommit();
   
  -      git('bar-dep.git', [
  -        file('bar-dep.dart', 'main() => "bar-dep 2";')
  -      ]).scheduleCommit();
  -
  -      schedulePub(args: ['update foo'],
  +      schedulePub(args: ['update', 'foo'],
             output: const RegExp(@"Dependencies updated!$"));
   
         dir(packagesPath, [
           dir('foo', [
  -          file('foo.dart', 'main() => "foo";'),
  +          file('foo.dart', 'main() => "foo 2";'),
             file('pubspec.yaml', '''
   dependencies:
     foo-dep:
  
positive.code: ''')
          ]),
          dir('foo-dep', [
            file('foo-dep.dart', 'main() => "foo-dep 2";')
          ]),
          dir('bar', [
            file('bar.dart', 'main() => "bar";'),
            file('pubspec.yaml', '''
  dependencies:
    bar-dep:
      git: ../bar-dep.git
  ''')
          ]),
          dir('bar-dep', [
            file('bar-dep.dart', 'main() => "bar-dep";')
          ])
        ]).scheduleValidate();
  
  
negative.code: 
    group('pub list', listCommand);
    group('pub install', installCommand);
    group('pub update', updateCommand);
    group('pub version', versionCommand);
  }
  
  