aboutsummaryrefslogtreecommitdiff
path: root/test/style-reader.tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/style-reader.tests.js')
-rw-r--r--test/style-reader.tests.js7
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));
}