anchor.diff:  
     final Uint8List svg = utf8.encode(svgStr);
   
  -  testWidgets('SvgPicture can work with a FittedBox',
  -      (WidgetTester tester) async {
  +  testWidgets('SvgPicture can work with a FittedBox', (WidgetTester tester) async {
       final GlobalKey key = GlobalKey();
       await tester.pumpWidget(
         MediaQuery(
  
positive.code:     await _checkWidgetAndGolden(key, 'flutter_logo.asset.png');
    });
  
    testWidgets('SvgPicture.asset DefaultAssetBundle',
        (WidgetTester tester) async {
      final MockAssetBundle mockAsset = MockAssetBundle();
      when(mockAsset.loadString('test.svg'))
          .thenAnswer((_) => Future<String>.value(svgStr));
  
      final GlobalKey key = GlobalKey();
      await tester.pumpWidget(
        MediaQuery(
          data: MediaQueryData.fromWindow(window),
          child: DefaultAssetBundle(
            bundle: mockAsset,
            child: RepaintBoundary(
              key: key,
              child: SvgPicture.asset(
                'test.svg',
                semanticsLabel: 'Test SVG',
              ),
            ),
          ),
  
negative.code:   final MockHttpClientRequest mockRequest = MockHttpClientRequest();
    final MockHttpClientResponse mockResponse = MockHttpClientResponse();
  
    when(mockHttpClient.getUrl(any)).thenAnswer((_) => Future<MockHttpClientRequest>.value(mockRequest));
  
    when(mockRequest.close()).thenAnswer((_) => Future<MockHttpClientResponse>.value(mockResponse));
  
    when(mockResponse.transform<Uint8List>(any)).thenAnswer((_) => Stream<Uint8List>.fromIterable(<Uint8List>[svg]));
    when(mockResponse.listen(any,
            onDone: anyNamed('onDone'), onError: anyNamed('onError'), cancelOnError: anyNamed('cancelOnError')))
        .thenAnswer((Invocation invocation) {
      final void Function(Uint8List) onData = invocation.positionalArguments[0];
      final void Function(Object) onError = invocation.namedArguments[#onError];
  