From 3047481420f215fb60b0380fa187975948ba54be Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jul 2016 20:17:04 +0100 Subject: Add comment reference document matcher --- test/style-reader.tests.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/style-reader.tests.js') 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)); } -- cgit v1.2.3