diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-01-10 19:38:35 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-01-12 00:18:35 +0100 |
commit | 1abaf9d5d6ea9c6554362e851903ddd214a6f659 (patch) | |
tree | b59dc980cfa516851ded891177b604ed32a379b4 /tests/auto | |
parent | 8d2417ed9a591100115cd58a278f75912b20f51a (diff) |
Enable markdown writer 'preformats with embedded backticks' test
It happens to pass now.
Pick-to: 6.2 6.3
Change-Id: I0f6132251c3ee4ee2fef5530f8ed6997e3c946ab
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/gui/text/qtextmarkdownwriter/tst_qtextmarkdownwriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/gui/text/qtextmarkdownwriter/tst_qtextmarkdownwriter.cpp b/tests/auto/gui/text/qtextmarkdownwriter/tst_qtextmarkdownwriter.cpp index 353a0c52b6..24bb1a5992 100644 --- a/tests/auto/gui/text/qtextmarkdownwriter/tst_qtextmarkdownwriter.cpp +++ b/tests/auto/gui/text/qtextmarkdownwriter/tst_qtextmarkdownwriter.cpp @@ -466,9 +466,9 @@ void tst_QTextMarkdownWriter::fromHtml_data() // QTest::newRow("escaped number and paren after double newline") << // "<p>(The first sentence of this paragraph is a line, the next paragraph has a number</p>13) but that's not part of an ordered list" << // "(The first sentence of this paragraph is a line, the next paragraph has a number\n\n13\\) but that's not part of an ordered list\n\n"; -// QTest::newRow("preformats with embedded backticks") << -// "<pre>none `one` ``two``</pre><pre>```three``` ````four````</pre>plain" << -// "``` none `one` ``two`` ```\n\n````` ```three``` ````four```` `````\n\nplain\n\n"; + QTest::newRow("preformats with embedded backticks") << + "<pre>none `one` ``two``</pre><pre>```three``` ````four````</pre>plain" << + "``` none `one` ``two`` ```\n\n````` ```three``` ````four```` `````\n\nplain\n\n"; } void tst_QTextMarkdownWriter::fromHtml() |