diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-28 21:22:41 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-28 21:22:41 +0000 |
| commit | 72ad04159683e8958ff957695fc9bb224fc376ca (patch) | |
| tree | 9c122c874a5ad16dd50857fef2bc340295fc5729 /test/style-reader.tests.js | |
| parent | a12b966752ba7ae880f7d6348a42cc986e891a82 (diff) | |
Parse break style mappings
Diffstat (limited to 'test/style-reader.tests.js')
| -rw-r--r-- | test/style-reader.tests.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js index 6092bb9..96c0c39 100644 --- a/test/style-reader.tests.js +++ b/test/style-reader.tests.js @@ -164,6 +164,27 @@ test("styleReader.readDocumentMatcher", { "comment-reference", documentMatchers.commentReference ); + }, + + "reads line breaks": function() { + assertDocumentMatcher( + "br[type='line']", + documentMatchers.lineBreak + ); + }, + + "reads page breaks": function() { + assertDocumentMatcher( + "br[type='page']", + documentMatchers.pageBreak + ); + }, + + "reads column breaks": function() { + assertDocumentMatcher( + "br[type='column']", + documentMatchers.columnBreak + ); } }); |
