Skip to content

Commit a2f4f70

Browse files
committed
fix: remove extra image properties
1 parent d2426ce commit a2f4f70

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/core/test/_.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,13 @@ Future<String> explainWithoutPumping({
162162
).explain(built);
163163

164164
str = str.replaceAll(RegExp('String#[^,]+,'), 'String,');
165-
return str.replaceAll(RegExp('Uint8List#[0-9a-f]+,'), 'bytes,');
165+
str = str.replaceAll(RegExp('Uint8List#[0-9a-f]+,'), 'bytes,');
166+
167+
// images
168+
str = str.replaceAll(', headers: null', '');
169+
str = str.replaceAll(', webHtmlElementStrategy: never', '');
170+
171+
return str;
166172
}
167173

168174
final _explainMarginRegExp = RegExp(

0 commit comments

Comments
 (0)