anchor.diff:          file('foo-dep.dart', 'main() => "foo-dep";')
         ]).scheduleCreate();
   
  -      git('bar.git', [
  -        file('bar.dart', 'main() => "bar";'),
  -        file('pubspec.yaml', '''
  -dependencies:
  -  bar-dep:
  -    git: ../bar-dep.git
  -''')
  -      ]).scheduleCreate();
  -
  -      git('bar-dep.git', [
  -        file('bar-dep.dart', 'main() => "bar-dep";')
  -      ]).scheduleCreate();
  -
         dir(appPath, [
           file('pubspec.yaml', '''
   dependencies:
     foo:
  -    git: ../foo.git
  -  bar:
       git: ../foo.git
   ''')
         ]).scheduleCreate();
  
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:   foo:
      git: ../foo.git
    bar:
      git: ../bar.git
  ''')
        ]).scheduleCreate();
  
  