anchor.diff:        expect(
             new Annotation('Actual message (to be ignored)', ErrorType.LINT, 1),
             matchesAnnotation(null, ErrorType.LINT, 1));
  -      expect(
  -          new Annotation('Message', ErrorType.LINT, 1),
  +      expect(new Annotation('Message', ErrorType.LINT, 1),
             matchesAnnotation('Message', ErrorType.LINT, 1));
       });
       test('inequality', () {
  -      expect(
  -          () =>
  -              expect(
  -                  new Annotation('Message', ErrorType.LINT, 1),
  -                  matchesAnnotation('Message', ErrorType.HINT, 1)),
  +      expect(() => expect(new Annotation('Message', ErrorType.LINT, 1),
  +              matchesAnnotation('Message', ErrorType.HINT, 1)),
             throwsA(new isInstanceOf<TestFailure>()));
  -      expect(
  -          () =>
  -              expect(
  -                  new Annotation('Message', ErrorType.LINT, 1),
  -                  matchesAnnotation('Message2', ErrorType.LINT, 1)),
  +      expect(() => expect(new Annotation('Message', ErrorType.LINT, 1),
  +              matchesAnnotation('Message2', ErrorType.LINT, 1)),
             throwsA(new isInstanceOf<TestFailure>()));
  -      expect(
  -          () =>
  -              expect(
  -                  new Annotation('Message', ErrorType.LINT, 1),
  -                  matchesAnnotation('Message', ErrorType.LINT, 2)),
  +      expect(() => expect(new Annotation('Message', ErrorType.LINT, 1),
  +              matchesAnnotation('Message', ErrorType.LINT, 2)),
             throwsA(new isInstanceOf<TestFailure>()));
       });
     });
  
positive.code:         test('html - strong', () {
            Hyperlink link =
                new Hyperlink('dart', 'http://dartlang.org', bold: true);
            expect(
                link.html,
                equals('<a href="http://dartlang.org"><strong>dart</strong></a>'));
          });
        });
        group('kind', () {
          test('priority', () {
            expect(
                Kind.supported,
                orderedEquals([Kind.DO, Kind.DONT, Kind.PREFER, Kind.AVOID, Kind.CONSIDER]));
          });
          test('comparing', () {
            expect(Kind.DO.compareTo(Kind.DONT), equals(-1));
          });
        });
        group('rule', () {
          test('sorting', () {
            expect(
                Kind.supported,
                orderedEquals([Kind.DO, Kind.DONT, Kind.PREFER, Kind.AVOID, Kind.CONSIDER]));
          });
          test('comparing', () {
            LintRule r1 = new MockLintRule('Bar', Kind.DO);
  
negative.code:         dartlint.main([badPath]);
          expect(exitCode, equals(dartlint.unableToProcessExitCode));
        });
        test('custom sdk path', () {
          // Smoke test to ensure a custom sdk path doesn't sink the ship
          FileSystemEntity firstRuleTest =
              new Directory(ruleDir).listSync().firstWhere((f) => isDartFile(f));
          var sdk = getSdkDir();
          dartlint.main(['--dart-sdk', sdk.path, firstRuleTest.path]);
          expect(dartlint.isLinterErrorCode(exitCode), isFalse);
        });
        test('custom package root', () {
          // Smoke test to ensure a custom package root doesn't sink the ship
          FileSystemEntity firstRuleTest =
              new Directory(ruleDir).listSync().firstWhere((f) => isDartFile(f));
          var packageDir = new Directory('.').path;
          dartlint.main(['--package-root', packageDir, firstRuleTest.path]);
          expect(dartlint.isLinterErrorCode(exitCode), isFalse);
        });
      });
  
      group('io', () {
  