aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-03 13:45:36 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-03 13:45:36 +0100
commited8acdfd79b014fd002890361593a9b2c1f21534 (patch)
tree5639f30308ccb86bfb684a2256f22caef2f1aa5f /tests
parent75ad64ef27d5b8fbfa1a54a94c063e69b2c1ce81 (diff)
Add comment reference document matcher
Diffstat (limited to 'tests')
-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 1f68ac2..fddc75b 100644
--- a/tests/style_reader_tests.py
+++ b/tests/style_reader_tests.py
@@ -162,6 +162,13 @@ class ReadDocumentMatcherTests(object):
read_document_matcher("strike")
)
+ @istest
+ def reads_comment_reference(self):
+ assert_equal(
+ document_matchers.comment_reference,
+ read_document_matcher("comment-reference")
+ )
+
@istest
def document_matcher_is_mapped_to_html_path_using_fat_arrow():