aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
authorvgmoose <me@vgmoose.com>2017-07-21 00:04:49 -0400
committervgmoose <me@vgmoose.com>2017-07-21 00:04:49 -0400
commit33f089bb9f1d8fa599fe10ba1ddead6c10dbd4b4 (patch)
tree40b6f218fbbac7782effb8b0ab1255b3e773a315 /test/style-reader.tests.js
parent9c9cb3e30d7cae37b42537e59ba38571a9e06097 (diff)
Rename smallCaps style mapping to small-caps
Diffstat (limited to 'test/style-reader.tests.js')
-rw-r--r--test/style-reader.tests.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js
index 2ae7385..20d4127 100644
--- a/test/style-reader.tests.js
+++ b/test/style-reader.tests.js
@@ -159,6 +159,13 @@ test("styleReader.readDocumentMatcher", {
);
},
+ "reads smallcaps": function() {
+ assertDocumentMatcher(
+ "small-caps",
+ documentMatchers.smallCaps
+ );
+ },
+
"reads comment-reference": function() {
assertDocumentMatcher(
"comment-reference",
@@ -185,15 +192,8 @@ test("styleReader.readDocumentMatcher", {
"br[type='column']",
documentMatchers.columnBreak
);
- },
-
- "reads smallcaps": function() {
- assertDocumentMatcher(
- "smallCaps",
- documentMatchers.smallCaps
- );
}
-
+
});
function assertDocumentMatcher(input, expected) {