anchor.diff:      expect(element.name, 'myGetter');
       {
         plugin.Location location = element.location;
  -      expect(location.file, '/test.dart');
  +      expect(location.file, testFile);
         expect(location.offset, 23);
         expect(location.length, 'myGetter'.length);
         expect(location.startLine, 2);
  
positive.code:       expect(element.name, 'index');
        {
          plugin.Location location = element.location;
          expect(location.file, '/test.dart');
          expect(location.offset, -1);
          expect(location.length, 'index'.length);
          expect(location.startLine, 1);
  
negative.code:       expect(element.name, 'one');
        {
          plugin.Location location = element.location;
          expect(location.file, testFile);
          expect(location.offset, 23);
          expect(location.length, 'one'.length);
          expect(location.startLine, 2);
  