Skip to content

Commit 6735d54

Browse files
committed
[chore] fix js sample test
1 parent ae268d1 commit 6735d54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/js/samples/src-attribute-check-in-svg/expected.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
append_hydration,
55
attr,
66
children,
7-
claim_element,
7+
claim_svg_element,
88
detach,
99
init,
1010
insert_hydration,
@@ -24,9 +24,9 @@ function create_fragment(ctx) {
2424
this.h();
2525
},
2626
l(nodes) {
27-
svg = claim_element(nodes, "svg", {}, 1);
27+
svg = claim_svg_element(nodes, "svg", {});
2828
var svg_nodes = children(svg);
29-
img = claim_element(svg_nodes, "img", { alt: true, src: true }, 1);
29+
img = claim_svg_element(svg_nodes, "img", { alt: true, src: true });
3030
svg_nodes.forEach(detach);
3131
this.h();
3232
},

0 commit comments

Comments
 (0)