diff options
Diffstat (limited to 'test')
| -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 + ); } }); |
