@@ -72,7 +72,7 @@ void main() {
7272 expect (event.extensionKind, 'Flutter.ImageSizesForFrame' );
7373 expect (
7474 jsonEncode (event.extensionData! .data),
75- '{ "test.png":{"source":"test.png","displaySize":{"width":600.0,"height":300.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":960000,"decodedSizeInBytes":480000}}' ,
75+ contains ( ' "test.png":{"source":"test.png","displaySize":{"width":600.0,"height":300.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":960000,"decodedSizeInBytes":480000}' ) ,
7676 );
7777 }, skip: isBrowser); // [intended] uses dart:isolate and io.
7878
@@ -104,7 +104,7 @@ void main() {
104104 expect (event.extensionKind, 'Flutter.ImageSizesForFrame' );
105105 expect (
106106 jsonEncode (event.extensionData! .data),
107- '{ "test.png":{"source":"test.png","displaySize":{"width":900.0,"height":900.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":4320000,"decodedSizeInBytes":480000}}' ,
107+ contains ( ' "test.png":{"source":"test.png","displaySize":{"width":900.0,"height":900.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":4320000,"decodedSizeInBytes":480000}' ) ,
108108 );
109109 }, skip: isBrowser); // [intended] uses dart:isolate and io.
110110}
0 commit comments