anchor.diff:      renderer.render(issue);
   
       expect(
  -      logger.stdoutText,
  -      contains('error • My message at foo/bar/baz.dart:3:4 • (my_error_code)'),
  +      logger.stdoutText.trim(),
  +      contains(platformPath(
  +          'error • My message at foo/bar/baz.dart:3:4 • (my_error_code)')),
       );
       expect(logger.stderrText, isEmpty);
     });
  
positive.code: 
      renderer.render(issue);
  
      expect(logger.stdoutText,
          contains('info • todo: My message at foo/bar/qux.dart:3:4 • (todo)'));
  
      expect(logger.stderrText, isEmpty);
    });
  
negative.code: 
    String get stderrText => stderrBuffer.toString();
  }
  
  String platformPath(String path) {
    return path.replaceAll('/', Platform.pathSeparator);
  }
  