Skip to content

Commit 8c9a7b0

Browse files
rajveermalviyagnprice
authored andcommitted
content test [nfc]: Drop skipped duplicate KaTeX font-size ratio test
This skipped test is a duplicate of the one above it, but incorrectly has the description of the one below it. Probably a result of conflict-resolution error in b073c6b which introduced this duplicate, or another in the chain of cherry-picks that led to that commit.
1 parent b50f6bb commit 8c9a7b0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/widgets/content_test.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,19 +1025,6 @@ void main() {
10251025
});
10261026
});
10271027

1028-
testWidgets('maintains font-size ratio with surrounding text, when showing TeX source', (tester) async {
1029-
const html = '<span class="katex">'
1030-
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi></mrow>'
1031-
'<annotation encoding="application/x-tex"> \\lambda </annotation></semantics></math></span>'
1032-
'<span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord mathnormal">λ</span></span></span></span>';
1033-
await checkFontSizeRatio(tester,
1034-
targetHtml: html,
1035-
targetFontSizeFinder: mkTargetFontSizeFinderFromPattern(r'λ'));
1036-
}, skip: true // TODO(#46): adapt this test
1037-
// (it needs a more complex targetFontSizeFinder;
1038-
// see other uses in this file for examples.)
1039-
);
1040-
10411028
testWidgets('maintains font-size ratio with surrounding text, when showing TeX source', (tester) async {
10421029
addTearDown(testBinding.reset);
10431030
final globalSettings = testBinding.globalStore.settings;

0 commit comments

Comments
 (0)