aboutsummaryrefslogtreecommitdiff
path: root/tests/style_reader_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-06-17 15:05:19 +0100
committerMichael Williamson <mike@zwobble.org>2015-06-17 15:05:19 +0100
commit147fabb2b2e00f7790304b7a1e1f40cdb564cb4f (patch)
treefcd72fdbdf3681acd1dff8dd6237143a80914cfa /tests/style_reader_tests.py
parent35d3dd58400d5310fe05ebe8e070c96c756edac0 (diff)
Support underlines in style map
Diffstat (limited to 'tests/style_reader_tests.py')
-rw-r--r--tests/style_reader_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py
index 464cb4a..501629a 100644
--- a/tests/style_reader_tests.py
+++ b/tests/style_reader_tests.py
@@ -134,6 +134,13 @@ class ReadDocumentMatcherTests(object):
read_document_matcher("r[style-name='Emphasis']")
)
+ @istest
+ def reads_underline(self):
+ assert_equal(
+ document_matchers.underline,
+ read_document_matcher("u")
+ )
+
@istest
def document_matcher_is_mapped_to_html_path_using_fat_arrow():