Skip to content

Commit 3799c88

Browse files
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.
1 parent 55d055f commit 3799c88

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
@@ -1017,19 +1017,6 @@ void main() {
10171017
});
10181018
});
10191019

1020-
testWidgets('maintains font-size ratio with surrounding text, when showing TeX source', (tester) async {
1021-
const html = '<span class="katex">'
1022-
'<span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>λ</mi></mrow>'
1023-
'<annotation encoding="application/x-tex"> \\lambda </annotation></semantics></math></span>'
1024-
'<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>';
1025-
await checkFontSizeRatio(tester,
1026-
targetHtml: html,
1027-
targetFontSizeFinder: mkTargetFontSizeFinderFromPattern(r'λ'));
1028-
}, skip: true // TODO(#46): adapt this test
1029-
// (it needs a more complex targetFontSizeFinder;
1030-
// see other uses in this file for examples.)
1031-
);
1032-
10331020
testWidgets('maintains font-size ratio with surrounding text, when showing TeX source', (tester) async {
10341021
addTearDown(testBinding.reset);
10351022
final globalSettings = testBinding.globalStore.settings;

0 commit comments

Comments
 (0)