diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-05-03 21:52:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-05-03 21:52:52 +0100 |
| commit | 4746d8f52c7287f9f71f393f6a5220130ed3d984 (patch) | |
| tree | 1893734a164fd7beb705875c7d5299e540c2eee4 /tests | |
| parent | 2558a4cc0df494f7b9380e9b34b85c5dd1c83010 (diff) | |
Add parsing for run matchers
Diffstat (limited to 'tests')
| -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 d96ba87..c9bfe5b 100644 --- a/tests/style-reader.tests.js +++ b/tests/style-reader.tests.js @@ -51,4 +51,11 @@ describe("styleReader.readDocumentMatcher", function() { documentMatchers.paragraph("Heading1") ); }); + + test("reads plain run", function() { + assert.deepEqual( + readDocumentMatcher("r"), + documentMatchers.run() + ); + }); }); |
