aboutsummaryrefslogtreecommitdiff
path: root/tests/style-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-06-17 15:40:21 +0100
committerMichael Williamson <mike@zwobble.org>2015-06-17 15:40:21 +0100
commita52d99fd85061a9f20b481535407a225d5927434 (patch)
tree6cea0c2d11a263a959df251eb7be1af2455b6440 /tests/style-reader.tests.js
parentdc53892204989de1788081624c65062dc283480a (diff)
Allow strikethrough to be configured in style mapping
Diffstat (limited to 'tests/style-reader.tests.js')
-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 59d7c51..bfe61dc 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -100,6 +100,13 @@ describe("styleReader.readDocumentMatcher", function() {
documentMatchers.underline
);
});
+
+ test("reads strikethrough", function() {
+ assert.deepEqual(
+ readDocumentMatcher("strike"),
+ documentMatchers.strikethrough
+ );
+ });
});
describe("styleReader.read", function() {