diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-05-04 10:58:06 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-05-04 10:58:06 +0100 |
| commit | a78d8242d2be4377accfb95447d549828f08dbd0 (patch) | |
| tree | d6909620c20ffb0fc6e613afde31c033515a9a49 /tests/style-reader.tests.js | |
| parent | 4da89717caa2ae0ab28f7e50aa56031e39dcdf9b (diff) | |
Add parsing for unordered lists
Diffstat (limited to 'tests/style-reader.tests.js')
| -rw-r--r-- | tests/style-reader.tests.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js index 134eefe..12dafca 100644 --- a/tests/style-reader.tests.js +++ b/tests/style-reader.tests.js @@ -60,6 +60,13 @@ describe("styleReader.readDocumentMatcher", function() { ); }); + test("reads p:unordered-list(1) as unordered list with index of 0", function() { + assert.deepEqual( + readDocumentMatcher("p:unordered-list(1)"), + documentMatchers.paragraph().unorderedList(0) + ); + }); + test("reads plain run", function() { assert.deepEqual( readDocumentMatcher("r"), |
