aboutsummaryrefslogtreecommitdiff
path: root/tests/style-reader.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-05-03 21:52:52 +0100
committerMichael Williamson <mike@zwobble.org>2013-05-03 21:52:52 +0100
commit4746d8f52c7287f9f71f393f6a5220130ed3d984 (patch)
tree1893734a164fd7beb705875c7d5299e540c2eee4 /tests/style-reader.tests.js
parent2558a4cc0df494f7b9380e9b34b85c5dd1c83010 (diff)
Add parsing for run matchers
Diffstat (limited to 'tests/style-reader.tests.js')
-rw-r--r--tests/style-reader.tests.js7
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()
+ );
+ });
});