diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-07-21 12:05:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-21 12:05:29 +0100 |
| commit | 2107916e9f5ac9288f69f09048cb992ec7ab92b4 (patch) | |
| tree | 40b6f218fbbac7782effb8b0ab1255b3e773a315 /test/style-reader.tests.js | |
| parent | 534f62e0684af52766adf82b8fd5dbf796e018db (diff) | |
| parent | 33f089bb9f1d8fa599fe10ba1ddead6c10dbd4b4 (diff) | |
Merge pull request #124 from vgmoose/master
Add style mapping for small caps
Diffstat (limited to 'test/style-reader.tests.js')
| -rw-r--r-- | test/style-reader.tests.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js index 96c0c39..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", @@ -186,6 +193,7 @@ test("styleReader.readDocumentMatcher", { documentMatchers.columnBreak ); } + }); function assertDocumentMatcher(input, expected) { |
