Skip to content

Commit dda72cb

Browse files
committed
content test: Remove test that's redundant with testContentSmoke test
In the 'inline math' group just above this, we have the following test: testContentSmoke(ContentExample.mathInline); Looks like the behavior of that test differs from this one, just in not passing `findRichText: true`. But that didn't stop it from finding the expected text and passing, so, shrug.
1 parent 5115ac7 commit dda72cb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/widgets/content_test.dart

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

1044-
testWidgets('displays KaTeX content', (tester) async {
1045-
await prepareContent(tester, plainContent(ContentExample.mathInline.html));
1046-
tester.widget(find.text('λ', findRichText: true));
1047-
});
1048-
10491044
testWidgets('fallback to displaying KaTeX source if unsupported KaTeX HTML', (tester) async {
10501045
await prepareContent(tester, plainContent(ContentExample.mathInlineUnknown.html));
10511046
tester.widget(find.text(r'\lambda'));

0 commit comments

Comments
 (0)