anchor.diff:    }
   
     test_constructor_nullReason() async {
  -    addMetaPackage();
       await assertErrorsInCode(r'''
   import 'package:meta/meta.dart';
   
  
positive.code:   }
  
    test_method() async {
      addMetaPackage();
      await assertErrorsInCode(r'''
  import 'package:meta/meta.dart';
  class A {
  
negative.code:     ]);
    }
  
    test_constructor_fieldFormalParameter() async {
      await assertErrorsInCode(r'''
  import 'package:meta/meta.dart';
  
  class C {
    final int a;
    C({@required this.a});
  }
  
  main() {
    new C();
  }
  ''', [
        error(HintCode.MISSING_REQUIRED_PARAM, 102, 1),
      ]);
    }
  
    test_constructor_noReason() async {
      await assertErrorsInCode(r'''
  import 'package:meta/meta.dart';
  
  