summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-09-26 09:56:37 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-09-26 09:56:37 -0400
commitf6483234b244602ab883b851552f3d736323c608 (patch)
treeebc59beddea170c21df1d8ccfc889120599a11ab
parentddaee34302116512cbc53ba05986e5260a79b7d3 (diff)
downloadpython-markdown-strongem.tar.gz
Cleaned up STRNG EM tests.strongem
Removed a bunch of weird ones (even some that passed). For the most part, there is no definitive way for those to be parsed. So there is no point of testing for them. In most of those situations, authors should be mixing underscores and astericks so it is clear what is intended.
-rw-r--r--tests/misc/em_strong_complex.html40
-rw-r--r--tests/misc/em_strong_complex.txt78
2 files changed, 2 insertions, 116 deletions
diff --git a/tests/misc/em_strong_complex.html b/tests/misc/em_strong_complex.html
index f198ba4..3befa70 100644
--- a/tests/misc/em_strong_complex.html
+++ b/tests/misc/em_strong_complex.html
@@ -1,52 +1,14 @@
<p><em><strong>test test</strong> test test</em></p>
<p><strong><em>test test</em> test test</strong></p>
-<p>___test test_ test test_</p>
-<p>__test test_ test test_</p>
-<p>__test_</p>
-<p>___test_</p>
-<p>____test_</p>
-<p>_____test_</p>
-<p>______test_</p>
<p><strong><em>test</em></strong></p>
<p><strong>test</strong>_</p>
-<p>___<strong>test</strong>_</p>
-<p>____<strong>test</strong>_</p>
-<p><strong><em>test___test</em></strong></p>
-<p><strong><em>test__test</em></strong></p>
-<p><strong><strong>test</strong>_test</strong>_</p>
<p><strong><em>test</em> test</strong>_</p>
-<p>__test_ test__</p>
<p><strong><em>test</em> test</strong></p>
-<p><strong><em>test_test test</em></strong></p>
-<p><strong><em>test__test test</em></strong></p>
<p><em>test_test test_test</em></p>
-<p><strong><em>test_test_test</em> test_test test</strong></p>
-<p><em><strong>test_test_test</strong> test_test_test</em></p>
-<p>___test_ test_ test__</p>
-<p><strong><em>test_test <strong>test</strong>___test test</em></strong></p>
<p><em><strong>test test</strong> test test</em></p>
<p><strong><em>test test</em> test test</strong></p>
-<p><em>*</em>test test* test test*</p>
-<p><em><em>test test</em> test test</em></p>
<p>*<em>test</em></p>
-<p><em>*</em>test*</p>
-<p><em>*</em><em>test</em></p>
-<p><em>*</em>*<em>test</em></p>
-<p><em>*</em><em>*</em>test*</p>
<p><strong><em>test</em></strong></p>
<p><strong>test</strong>*</p>
-<p>**<strong><em>test</em></strong></p>
-<p><em>*</em><strong><em>test</em></strong></p>
-<p><strong><em>test</em></strong>test<em>*</em></p>
-<p><em><strong>test</strong>test</em>**</p>
-<p><em><strong><em>test</em></strong>test</em>**</p>
-<p><strong><em>test</em> test</strong>*</p>
-<p><em><em>test</em> test</em>*</p>
<p><strong><em>test</em> test</strong></p>
-<p><strong><em>test</em>test test</strong>*</p>
-<p><em><strong>test</strong>test test</em>**</p>
-<p><em>test</em>test test<em>test</em></p>
-<p><em>*</em>test<em>test</em>test* test<em>test test</em>*</p>
-<p><em><strong>test<em>test</em>test</strong> test</em>test<em>test</em></p>
-<p><em>*</em>test* test* test**</p>
-<p><em>*</em>test*test <strong>test</strong><strong><em>test test</em></strong></p> \ No newline at end of file
+<p><em>test</em>test test<em>test</em></p> \ No newline at end of file
diff --git a/tests/misc/em_strong_complex.txt b/tests/misc/em_strong_complex.txt
index 8b30b0c..66f4ff1 100644
--- a/tests/misc/em_strong_complex.txt
+++ b/tests/misc/em_strong_complex.txt
@@ -2,102 +2,26 @@ ___test test__ test test_
___test test_ test test__
-___test test_ test test_
-
-__test test_ test test_
-
-__test_
-
-___test_
-
-____test_
-
-_____test_
-
-______test_
-
___test___
__test___
-_____test___
-
-______test___
-
-___test___test___
-
-___test__test___
-
-____test___test___
-
___test_ test___
-__test_ test__
-
___test_ test__
-___test_test test___
-
-___test__test test___
-
_test_test test_test_
-___test_test_test_ test_test test__
-
-___test_test_test__ test_test_test_
-
-___test_ test_ test__
-
-___test_test __test_____test test___
-
***test test** test test*
***test test* test test**
-***test test* test test*
-
-**test test* test test*
-
**test*
-***test*
-
-****test*
-
-*****test*
-
-******test*
-
***test***
**test***
-*****test***
-
-******test***
-
-***test***test***
-
-***test**test***
-
-****test***test***
-
-***test* test***
-
-**test* test**
-
***test* test**
-***test*test test***
-
-***test**test test***
-
-*test*test test*test*
-
-***test*test*test* test*test test**
-
-***test*test*test** test*test*test*
-
-***test* test* test**
-
-***test*test **test*****test test***
+*test*test test*test* \ No newline at end of file