aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2018-01-16 22:39:51 +0000
committerMichael Williamson <mike@zwobble.org>2018-01-16 22:39:51 +0000
commitfae22b10bf8664ee65a2674b9c7cdbf926dd758f (patch)
tree7e64cca25945bf52580dd8252ede214c7010dc91 /test
parentd3b5060cdd565e6d7454c75f8de68987be9ed2c8 (diff)
Handle leading slashes in target
Diffstat (limited to 'test')
-rw-r--r--test/docx/docx-reader.tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/docx/docx-reader.tests.js b/test/docx/docx-reader.tests.js
index a25d76e..f353930 100644
--- a/test/docx/docx-reader.tests.js
+++ b/test/docx/docx-reader.tests.js
@@ -48,7 +48,7 @@ test("when document.xml is not present then document is found using _rels/.rels"
var relationships = xml.element("r:Relationships", {}, [
xml.element("r:Relationship", {
"Type": "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",
- "Target": "word/document2.xml"
+ "Target": "/word/document2.xml"
})
]);