aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
authorvgmoose <me@vgmoose.com>2017-07-19 16:26:35 -0400
committervgmoose <me@vgmoose.com>2017-07-19 17:24:11 -0400
commit9c9cb3e30d7cae37b42537e59ba38571a9e06097 (patch)
treeaa9cc3096cdf484fcffba4a9513283cf00894ddb /test/style-reader.tests.js
parent534f62e0684af52766adf82b8fd5dbf796e018db (diff)
Parse small caps style mappings (see #123)
Diffstat (limited to 'test/style-reader.tests.js')
-rw-r--r--test/style-reader.tests.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js
index 96c0c39..2ae7385 100644
--- a/test/style-reader.tests.js
+++ b/test/style-reader.tests.js
@@ -185,7 +185,15 @@ test("styleReader.readDocumentMatcher", {
"br[type='column']",
documentMatchers.columnBreak
);
+ },
+
+ "reads smallcaps": function() {
+ assertDocumentMatcher(
+ "smallCaps",
+ documentMatchers.smallCaps
+ );
}
+
});
function assertDocumentMatcher(input, expected) {