Skip to content

Commit 67ded9f

Browse files
committed
content test [nfc]: Use testContentSmoke shortcut for unsupported KaTeX test
1 parent dda72cb commit 67ded9f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/widgets/content_test.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,9 +1041,8 @@ void main() {
10411041
targetFontSizeFinder: mkTargetFontSizeFinderFromPattern(r'\lambda'));
10421042
});
10431043

1044-
testWidgets('fallback to displaying KaTeX source if unsupported KaTeX HTML', (tester) async {
1045-
await prepareContent(tester, plainContent(ContentExample.mathInlineUnknown.html));
1046-
tester.widget(find.text(r'\lambda'));
1044+
group('fallback to displaying KaTeX source if unsupported KaTeX HTML', () {
1045+
testContentSmoke(ContentExample.mathInlineUnknown);
10471046
});
10481047
});
10491048

0 commit comments

Comments
 (0)