aboutsummaryrefslogtreecommitdiff
path: root/tests/style_reader_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-25 19:07:27 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-25 19:07:27 +0000
commit3ed30fd8bc749d3c8009b3fd9e8ce125af5ee441 (patch)
tree6460c7e1f2e9940a6ef1e84a2626acfd8ae5aff0 /tests/style_reader_tests.py
parent17ba20787c2637c65df0c02c6ffbd71a318e451a (diff)
Read italic document matcher
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 62b1a2b..1f68ac2 100644
--- a/tests/style_reader_tests.py
+++ b/tests/style_reader_tests.py
@@ -142,6 +142,13 @@ class ReadDocumentMatcherTests(object):
)
@istest
+ def reads_italic(self):
+ assert_equal(
+ document_matchers.italic,
+ read_document_matcher("i")
+ )
+
+ @istest
def reads_underline(self):
assert_equal(
document_matchers.underline,