From b59d6d5cbf521d6f6557a29dfd5589c51ae73789 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 25 Aug 2014 13:49:46 -0400 Subject: 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. --- tests/options/no-smart-emphasis.html | 1 + tests/options/no-smart-emphasis.txt | 1 + tests/options/test.cfg | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 tests/options/no-smart-emphasis.html create mode 100644 tests/options/no-smart-emphasis.txt (limited to 'tests/options') 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 @@ +

connectedwords_

\ 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 -- cgit v1.2.3