aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-04-22 14:01:49 +0100
committerMichael Williamson <mike@zwobble.org>2014-04-22 14:01:49 +0100
commit12942365ea7a32ffb5945828651c5cab1d12d1c8 (patch)
tree1f64dbf6526869b09615475cc7963934f7445acd /tests
parent9bde4f67aefc04981dacdace0e553e3ffb6aab2d (diff)
Use p[styleName=...] rather than p[name=...]
Diffstat (limited to 'tests')
-rw-r--r--tests/style-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/style-reader.tests.js b/tests/style-reader.tests.js
index 4b36a0a..2ef6acf 100644
--- a/tests/style-reader.tests.js
+++ b/tests/style-reader.tests.js
@@ -64,7 +64,7 @@ describe("styleReader.readDocumentMatcher", function() {
test("reads paragraph with style name", function() {
assert.deepEqual(
- readDocumentMatcher("p[name='Heading 1']"),
+ readDocumentMatcher("p[styleName='Heading 1']"),
documentMatchers.paragraph({styleName: "Heading 1"})
);
});