aboutsummaryrefslogtreecommitdiffstats
path: root/tests/options
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-08-25 13:49:46 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-08-25 13:49:46 -0400
commitb59d6d5cbf521d6f6557a29dfd5589c51ae73789 (patch)
tree2af15d84c6d9e6b990932d97b49f5eae50492845 /tests/options
parented661f74428670df810d4d702cd31c760693b455 (diff)
downloadmarkdown-b59d6d5cbf521d6f6557a29dfd5589c51ae73789.tar.gz
markdown-b59d6d5cbf521d6f6557a29dfd5589c51ae73789.tar.bz2
markdown-b59d6d5cbf521d6f6557a29dfd5589c51ae73789.zip
Added some inline pattenr tests.
markdown/inlinepatterns.py is now at 99% coverage. I have no idea why the two remaining lines are not not covered. I it not clear to me under what circumstances this two if statements would ever evaluate to True. I'm inclined to just remove them, but perhaps there is an edge case I'm missing. I'll take another look later.
Diffstat (limited to 'tests/options')
-rw-r--r--tests/options/no-smart-emphasis.html1
-rw-r--r--tests/options/no-smart-emphasis.txt1
-rw-r--r--tests/options/test.cfg3
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/options/no-smart-emphasis.html b/tests/options/no-smart-emphasis.html
new file mode 100644
index 0000000..c4f1381
--- /dev/null
+++ b/tests/options/no-smart-emphasis.html
@@ -0,0 +1 @@
+<p><em>connected</em>words_</p> \ No newline at end of file
diff --git a/tests/options/no-smart-emphasis.txt b/tests/options/no-smart-emphasis.txt
new file mode 100644
index 0000000..cf500b5
--- /dev/null
+++ b/tests/options/no-smart-emphasis.txt
@@ -0,0 +1 @@
+_connected_words_ \ No newline at end of file
diff --git a/tests/options/test.cfg b/tests/options/test.cfg
index eb8b853..2e14f1f 100644
--- a/tests/options/test.cfg
+++ b/tests/options/test.cfg
@@ -6,3 +6,6 @@ html4:
no-attributes:
enable_attributes: False
+
+no-smart-emphasis:
+ smart_emphasis: False \ No newline at end of file