anchor.diff:        ''')
       ]).create();
   
  -    await overrideAnsiOutput(false, () async {
  -      await generateTravisConfig(rootDirectory: d.sandbox);
  -    });
  +    await _testGenerate();
   
       await d.file(travisFileName, r'''
   # Created with https://github.com/dart-lang/mono_repo
  
positive.code:     ]).create();
  
      expect(
          () async => await overrideAnsiOutput(false, () async {
                await generateTravisConfig(rootDirectory: d.sandbox);
              }),
          throwsUserExceptionWith(
              'Not all packages agree on `stages` ordering, found a cycle '
              'between the following stages: [analyze, format]',
  
negative.code:       ''')
      ]).create();
  
      await _testGenerate();
  
      await d.file(travisFileName, _config2Yaml).validate();
      await d.file(travisShPath, _config2Shell).validate();
  