Arlolra has uploaded a new change for review. https://gerrit.wikimedia.org/r/201593
Change subject: Consolidate tests spec'ing wikitext serialization norms ...................................................................... Consolidate tests spec'ing wikitext serialization norms Change-Id: I067f4ac056fe4cf44721f5acfe396a1102d08bb6 --- M tests/parserTests.txt 1 file changed, 43 insertions(+), 35 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid refs/changes/93/201593/1 diff --git a/tests/parserTests.txt b/tests/parserTests.txt index dc63a94..1ffe3aa 100644 --- a/tests/parserTests.txt +++ b/tests/parserTests.txt @@ -23442,22 +23442,6 @@ !! end !! test -Lists: Add space after bullets -!! options -parsoid=html2wt -!! html -<ul> -<li>foo</li> -<li> bar</li> -<li><span> baz</span></li> -</ul> -!! wikitext -* foo -* bar -* <span> baz</span> -!! end - -!! test Lists: Dont insert newlines in a serialized list item. !! options parsoid=html2wt @@ -23466,25 +23450,6 @@ !! wikitext * a<br>b * c -!! end - -!! test -Headings: Add space before/after == (Bug 51744) -!! options -parsoid=html2wt -!! html -<h2>foo</h2> -<h2> bar</h2> -<h2>baz </h2> -<h2><span> baz</span></h2> -!! wikitext -== foo == - -== bar == - -== baz == - -== <span> baz</span> == !! end !! test @@ -23992,6 +23957,49 @@ [http://boo.org http://boohoo.org] !! end +# -------------------------------------------- +# Tests spec'ing wikitext serialization norms | +# -------------------------------------------- + +!! test +Lists: Add space after bullets +!! options +parsoid=html2wt +!! html +<ul> +<li>foo</li> +<li> bar</li> +<li><span> baz</span></li> +</ul> +!! wikitext +* foo +* bar +* <span> baz</span> +!! end + +!! test +Headings: Add space before/after == (Bug 51744) +!! options +parsoid=html2wt +!! html +<h2>foo</h2> +<h2> bar</h2> +<h2>baz </h2> +<h2><span> baz</span></h2> +!! wikitext +== foo == + +== bar == + +== baz == + +== <span> baz</span> == +!! end + +# --------------------------------------------------- +# End of tests spec'ing wikitext serialization norms | +# --------------------------------------------------- + # ----------------------------------------------------------------- # End of section for Parsoid-only html2wt tests for serialization # of new content -- To view, visit https://gerrit.wikimedia.org/r/201593 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I067f4ac056fe4cf44721f5acfe396a1102d08bb6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/parsoid Gerrit-Branch: master Gerrit-Owner: Arlolra <abrea...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits