From a259d837edeae617fbb8fa65e40d4d01531c35fb Mon Sep 17 00:00:00 2001 From: zhangsn <398816613@qq.com> Date: Thu, 13 Jul 2023 19:56:04 +0800 Subject: [PATCH] Fix test case error (#338) --- test/c14n-non-exclusive-unit-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/c14n-non-exclusive-unit-test.js b/test/c14n-non-exclusive-unit-test.js index 0273b939..dee9d807 100644 --- a/test/c14n-non-exclusive-unit-test.js +++ b/test/c14n-non-exclusive-unit-test.js @@ -100,7 +100,7 @@ exports["findAncestorNs: Should not find namespace when both has no prefix"] = f var xpath = "//*[local-name()='child2']"; var expected = []; - test_findAncestorNs(xml, xpath, expected); + test_findAncestorNs(test, xml, xpath, expected); }; exports["findAncestorNs: Should find namespace without prefix"] = function (test) { @@ -109,7 +109,7 @@ exports["findAncestorNs: Should find namespace without prefix"] = function (test var xpath = "//*[local-name()='child2']"; var expected = [{ prefix: "", namespaceURI: "bbb" }]; - test_findAncestorNs(xml, xpath, expected); + test_findAncestorNs(test, xml, xpath, expected); }; exports["findAncestorNs: Ignores namespace declared in the target xpath node"] = function (test) {