@@ -72,7 +72,7 @@ void main() {
72
72
expect (event.extensionKind, 'Flutter.ImageSizesForFrame' );
73
73
expect (
74
74
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}' ) ,
76
76
);
77
77
}, skip: isBrowser); // [intended] uses dart:isolate and io.
78
78
@@ -104,7 +104,7 @@ void main() {
104
104
expect (event.extensionKind, 'Flutter.ImageSizesForFrame' );
105
105
expect (
106
106
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}' ) ,
108
108
);
109
109
}, skip: isBrowser); // [intended] uses dart:isolate and io.
110
110
}
0 commit comments