aboutsummaryrefslogtreecommitdiff
path: root/tests/style_reader_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-08-15 18:11:46 +0100
committerMichael Williamson <mike@zwobble.org>2015-08-15 18:11:46 +0100
commit2c9955f0590d93968b4959e3622d01610e398700 (patch)
tree886f42a3c647d8f0716a871685e925b95bd2bc6f /tests/style_reader_tests.py
parent724f9f01d83865ae586e7a8f65545e1a11d2cdae (diff)
Continue with warning style mapping cannot be parsed
Diffstat (limited to 'tests/style_reader_tests.py')
-rw-r--r--tests/style_reader_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py
index 52d66fd..776e2dc 100644
--- a/tests/style_reader_tests.py
+++ b/tests/style_reader_tests.py
@@ -151,7 +151,9 @@ class ReadDocumentMatcherTests(object):
@istest
def document_matcher_is_mapped_to_html_path_using_fat_arrow():
+ style_result = read_style("p => h1")
assert_equal(
styles.style(document_matchers.paragraph(), html_paths.path([html_paths.element(["h1"])])),
- read_style("p => h1")
+ style_result.value
)
+ assert_equal([], style_result.messages)