aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
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) {