anchor.diff:        bool hasLength(int expected) { }
         void baz() { }''');
       addTestSource('''
  -      import '/libA.dart'
  +      import '${convertPathForImport('/libA.dart')}'
         class B {
           expect(arg, int blat) { }
           void foo() {expect(^)}}
  
positive.code:       expect(String arg1, int arg2, {bool arg3}) { }
        void baz() { }''');
      addTestSource('''
        import '/libA.dart'
        class B { }
        String bar() => true;
        void main() {expect('hello', x^)}''');
  
negative.code:       expect(String arg) { }
        void baz() { }''');
      addTestSource('''
        import '${convertPathForImport('/libA.dart')}'
        class B { }
        String bar() => true;
        void main() {expect(^)}''');
  