Skip to content

Commit c86bf7b

Browse files
committed
chore: update snap
1 parent bf7424a commit c86bf7b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/compiler-vapor/__tests__/transforms/__snapshots__/expression.spec.ts.snap

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
3434
`;
3535

3636
exports[`compiler: expression > update expression 1`] = `
37-
"import { child as _child, toDisplayString as _toDisplayString, setText as _setText, setProp as _setProp, renderEffect as _renderEffect, template as _template } from 'vue';
37+
"import { child as _child, setProp as _setProp, toDisplayString as _toDisplayString, setText as _setText, renderEffect as _renderEffect, template as _template } from 'vue';
3838
const t0 = _template("<div> </div>", true)
3939
4040
export function render(_ctx) {
@@ -44,12 +44,11 @@ export function render(_ctx) {
4444
_renderEffect(() => {
4545
const _String = String
4646
const _foo = _ctx.foo
47-
48-
_setText(n0, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar))
49-
_setText(x1, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar))
5047
_setProp(n1, "id", _String(_foo.id++))
5148
_setProp(n1, "foo", _foo)
5249
_setProp(n1, "bar", _ctx.bar++)
50+
_setText(n0, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar))
51+
_setText(x1, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar))
5352
})
5453
return n1
5554
}"

0 commit comments

Comments
 (0)