aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/styles/document-matchers.tests.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/styles/document-matchers.tests.js b/test/styles/document-matchers.tests.js
index fb2025d..5ce3f72 100644
--- a/test/styles/document-matchers.tests.js
+++ b/test/styles/document-matchers.tests.js
@@ -58,6 +58,7 @@ test("equalTo matcher is case insensitive", function() {
test("startsWith matches strings with prefix", function() {
var matcher = documentMatchers.startsWith("Heading");
+ assert.ok(matcher.operator(matcher.operand, "Heading"));
assert.ok(matcher.operator(matcher.operand, "Heading 1"));
assert.ok(!matcher.operator(matcher.operand, "Custom Heading"));
assert.ok(!matcher.operator(matcher.operand, "Head"));