File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1035,11 +1035,12 @@ void main() {
10351035 assert (ContentExample .mathInlineUnknown.html.endsWith ('</p>' ));
10361036 final unsupportedKatexHtml = ContentExample .mathInlineUnknown.html
10371037 .substring (3 , ContentExample .mathInlineUnknown.html.length - 4 );
1038+ final expectedText = ContentExample .mathInlineUnknown.expectedText! ;
10381039
10391040 testWidgets ('maintains font-size ratio with surrounding text, when falling back to TeX source' , (tester) async {
10401041 await checkFontSizeRatio (tester,
10411042 targetHtml: unsupportedKatexHtml,
1042- targetFontSizeFinder: mkTargetFontSizeFinderFromPattern (r'\lambda' ));
1043+ targetFontSizeFinder: mkTargetFontSizeFinderFromPattern (expectedText ));
10431044 });
10441045 });
10451046 });
You can’t perform that action at this time.
0 commit comments