Skip to content

Commit

Permalink
Fix test case error (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
git9527 authored Jul 13, 2023
1 parent 10e8705 commit a259d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/c14n-non-exclusive-unit-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit a259d83

Please sign in to comment.