anchor.diff:          await cli.runLinter(
               ['test/_data/unnecessary_new', '--rules=unnecessary_new'],
               new LinterOptions()..previewDart2 = true);
  -        expect(exitCode, 1);
           expect(
               collectingOut.trim(),
               stringContainsInOrder([
  
positive.code:           'test/_data/cancel_subscriptions',
            '--rules=cancel_subscriptions'
          ]);
          expect(exitCode, 1);
          expect(
              collectingOut.trim(),
              stringContainsInOrder([
  
negative.code:               "export 'package:yaml/yaml.dart'; // LINT",
                '3 files analyzed, 4 issues found, in'
              ]));
          expect(exitCode, 1);
        });
  
        test('third_party_package_directives_before_own', () async {
  