anchor.diff:            'test/_data/close_sinks',
             '--rules=close_sinks'
           ]);
  -        expect(exitCode, 1);
           expect(
               collectingOut.trim(),
               stringContainsInOrder([
  
positive.code:           'test/_data/prefer_asserts_in_initializer_lists',
            '--rules=prefer_asserts_in_initializer_lists'
          ], new LinterOptions()..previewDart2 = true);
          expect(exitCode, 1);
          expect(
              collectingOut.trim(),
              stringContainsInOrder(
                  ['lib.dart 6:5', '1 file analyzed, 1 issue found, in']));
        });
      });
  
  
negative.code:       test('only throw errors', () async {
          await cli
              .run(['test/_data/only_throw_errors', '--rules=only_throw_errors']);
          expect(
              collectingOut.trim(),
              stringContainsInOrder([
  