aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-25 19:20:16 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-25 19:20:16 +0000
commitafe8acc82adff83895c93de93c3aee889b455565 (patch)
treef069df6e3cd6e81bc3afeb399302d18a7b7cd6c0 /tests
parent50851fc4e29cecddda40d58d0db2135ee4b4c0be (diff)
Parse italic document matcher
Diffstat (limited to 'tests')
-rw-r--r--tests/style-reader.tests.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js
index 03bea11..0a4dccb 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -106,6 +106,13 @@ describe("styleReader.readDocumentMatcher", function() {
);
});
+ test("reads italic", function() {
+ assertDocumentMatcher(
+ "i",
+ documentMatchers.italic
+ );
+ });
+
test("reads underline", function() {
assertDocumentMatcher(
"u",