aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-25 19:18:45 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-25 19:18:45 +0000
commit50851fc4e29cecddda40d58d0db2135ee4b4c0be (patch)
tree2e6b7e6e7d1b3568acfe012b8f26d8754745b1f8 /tests
parent05b6cfe4e5177ee0b4c092d6c4289680a063568c (diff)
Parse bold 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 76d3f97..03bea11 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -99,6 +99,13 @@ describe("styleReader.readDocumentMatcher", function() {
);
});
+ test("reads bold", function() {
+ assertDocumentMatcher(
+ "b",
+ documentMatchers.bold
+ );
+ });
+
test("reads underline", function() {
assertDocumentMatcher(
"u",