diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 20:17:04 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 20:17:04 +0100 |
| commit | 3047481420f215fb60b0380fa187975948ba54be (patch) | |
| tree | 9ca20dae3e042e7bceed6e0fb09c2e3423a441a2 /test | |
| parent | 64b823c26c385dcd57aff3e19ce19af0489199e0 (diff) | |
Add comment reference document matcher
Diffstat (limited to 'test')
| -rw-r--r-- | test/style-reader.tests.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/style-reader.tests.js b/test/style-reader.tests.js index 0a4dccb..7265e8f 100644 --- a/test/style-reader.tests.js +++ b/test/style-reader.tests.js @@ -127,6 +127,13 @@ describe("styleReader.readDocumentMatcher", function() { ); }); + test("reads comment-reference", function() { + assertDocumentMatcher( + "comment-reference", + documentMatchers.commentReference + ); + }); + function assertDocumentMatcher(input, expected) { assert.deepEqual(readDocumentMatcher(input), results.success(expected)); } |
