anchor.diff:    int get x;
   }
   mixin M implements A, B {}
  -''');
  -    await resolveTestFile();
  -    assertTestErrorsWithCodes([
  -      CompileTimeErrorCode.INCONSISTENT_INHERITANCE_GETTER_AND_METHOD,
  +''', [
  +      error(CompileTimeErrorCode.INCONSISTENT_INHERITANCE_GETTER_AND_METHOD, 72,
  +          1),
       ]);
     }
   
     test_inconsistentInheritanceGetterAndMethod_on_getter_method() async {
  -    addTestFile(r'''
  +    await assertErrorsInCode(r'''
   abstract class A {
     int get x;
   }
  
positive.code:   }
  
    test_error_onClause_deferredClass() async {
      addTestFile(r'''
  import 'dart:math' deferred as math;
  mixin M on math.Random {}
  ''');
      await resolveTestFile();
      var mathImport = findElement.import('dart:math');
      var randomElement = mathImport.importedLibrary.getType('Random');
  
      assertTestErrorsWithCodes([
        CompileTimeErrorCode.MIXIN_SUPER_CLASS_CONSTRAINT_DEFERRED_CLASS,
      ]);
  
      var element = findElement.mixin('M');
      assertElementTypes(element.superclassConstraints, [randomElement.type]);
  
negative.code:   }
  
    test_superInvocation_method() async {
      await assertNoErrorsInCode(r'''
  class A {
    void foo(int x) {}
  }
  