Skip to content

Commit e6c4b62

Browse files
committed
test: update snapshots
1 parent 71aab07 commit e6c4b62

9 files changed

+10
-75
lines changed

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select-2.snap renamed to crates/oxvg_actions/src/actions/snapshots/oxvg_actions__actions__state__test__select-2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: crates/oxvg_actions/src/actions.rs
2+
source: crates/oxvg_actions/src/actions/state.rs
33
expression: actor.derive_state().unwrap()
44
---
55
DerivedState {

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select-3.snap renamed to crates/oxvg_actions/src/actions/snapshots/oxvg_actions__actions__state__test__select-3.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: crates/oxvg_actions/src/actions.rs
2+
source: crates/oxvg_actions/src/actions/state.rs
33
expression: actor.root.serialize().unwrap()
44
---
5-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:oxvg="https://oxvg.noahwbaldwin.me"><g color="#000"/><g color="#000"/><path fill="#404040"/><path fill="#404040"/><path fill="#dcddde"/><path fill="#0064ff"/><oxvg:state><oxvg:history><oxvg:action oxvg:id="Select"><oxvg:arg>path</oxvg:arg></oxvg:action><oxvg:action oxvg:id="Select"><oxvg:arg>7, 9</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids="7, 9"/></oxvg:state></svg>
5+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:oxvg="https://oxvg.noahwbaldwin.me"><g color="#000"/><g color="#000"/><path fill="#404040"/><path fill="#404040"/><path fill="#dcddde"/><path fill="#0064ff"/><oxvg:state><oxvg:history><oxvg:action oxvg:id="Select"><oxvg:arg>path</oxvg:arg></oxvg:action><oxvg:action oxvg:id="Select"><oxvg:arg>7, 9</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids="7 9"/></oxvg:state></svg>

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select-4.snap renamed to crates/oxvg_actions/src/actions/snapshots/oxvg_actions__actions__state__test__select-4.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: crates/oxvg_actions/src/actions.rs
2+
source: crates/oxvg_actions/src/actions/state.rs
33
expression: actor.derive_state().unwrap()
44
---
55
DerivedState {

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select.snap renamed to crates/oxvg_actions/src/actions/snapshots/oxvg_actions__actions__state__test__select.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: crates/oxvg_actions/src/actions.rs
2+
source: crates/oxvg_actions/src/actions/state.rs
33
expression: actor.root.serialize().unwrap()
44
---
5-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:oxvg="https://oxvg.noahwbaldwin.me"><g color="#000"/><g color="#000"/><path fill="#404040"/><path fill="#404040"/><path fill="#dcddde"/><path fill="#0064ff"/><oxvg:state><oxvg:history><oxvg:action oxvg:id="Select"><oxvg:arg>path</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids="7, 9, 11, 13"/></oxvg:state></svg>
5+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:oxvg="https://oxvg.noahwbaldwin.me"><g color="#000"/><g color="#000"/><path fill="#404040"/><path fill="#404040"/><path fill="#dcddde"/><path fill="#0064ff"/><oxvg:state><oxvg:history><oxvg:action oxvg:id="Select"><oxvg:arg>path</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids="7 9 11 13"/></oxvg:state></svg>

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select_empty-2.snap renamed to crates/oxvg_actions/src/actions/snapshots/oxvg_actions__actions__state__test__select_empty-2.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: crates/oxvg_actions/src/actions.rs
2+
source: crates/oxvg_actions/src/actions/state.rs
33
expression: actor.root.serialize().unwrap()
44
---
55
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" xmlns:oxvg="https://oxvg.noahwbaldwin.me"><oxvg:state><oxvg:history><oxvg:action oxvg:id="Select"><oxvg:arg>svg</oxvg:arg></oxvg:action><oxvg:action oxvg:id="Select"><oxvg:arg>1</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids="1"/></oxvg:state></svg>

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select_empty.snap renamed to crates/oxvg_actions/src/actions/snapshots/oxvg_actions__actions__state__test__select_empty.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
source: crates/oxvg_actions/src/actions.rs
2+
source: crates/oxvg_actions/src/actions/state.rs
33
expression: actor.root.serialize().unwrap()
44
---
55
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" xmlns:oxvg="https://oxvg.noahwbaldwin.me"><oxvg:state><oxvg:history><oxvg:action oxvg:id="Select"><oxvg:arg>svg</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids="1"/></oxvg:state></svg>

crates/oxvg_actions/src/snapshots/oxvg_actions__actions__select_empty-3.snap

Lines changed: 0 additions & 65 deletions
This file was deleted.

packages/napi/test.js.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,5 @@ exports[`actor > select 2`] = `
168168
`;
169169

170170
exports[`actor > select 3`] = `
171-
"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:oxvg=\\"https://oxvg.noahwbaldwin.me\\"><!-- Should convert to hex --><g class=\\"different-type different-value\\" color=\\"#000\\"/><g class=\\"different-value\\" color=\\"#00f\\"/><path class=\\"different-type same-value\\" fill=\\"#404040\\"/><path class=\\"same-value\\" fill=\\"#404040\\"/><path fill=\\"#dcddde\\"/><oxvg:state><oxvg:history><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>path</oxvg:arg></oxvg:action><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>.different-value</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids=\\"5, 7\\"/></oxvg:state></svg>"
171+
"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:oxvg=\\"https://oxvg.noahwbaldwin.me\\"><!-- Should convert to hex --><g class=\\"different-type different-value\\" color=\\"#000\\"/><g class=\\"different-value\\" color=\\"#00f\\"/><path class=\\"different-type same-value\\" fill=\\"#404040\\"/><path class=\\"same-value\\" fill=\\"#404040\\"/><path fill=\\"#dcddde\\"/><oxvg:state><oxvg:history><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>path</oxvg:arg></oxvg:action><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>.different-value</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids=\\"5 7\\"/></oxvg:state></svg>"
172172
`;

packages/wasm/test.cjs.snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ exports[`actor > select 2`] = `
170170
`;
171171

172172
exports[`actor > select 3`] = `
173-
"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:oxvg=\\"https://oxvg.noahwbaldwin.me\\">\\n <!-- Should convert to hex -->\\n <g class=\\"different-type different-value\\" color=\\"#000\\"/>\\n <g class=\\"different-value\\" color=\\"#00f\\"/>\\n <path class=\\"different-type same-value\\" fill=\\"#404040\\"/>\\n <path class=\\"same-value\\" fill=\\"#404040\\"/>\\n <path fill=\\"#dcddde\\"/>\\n<oxvg:state><oxvg:history><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>path</oxvg:arg></oxvg:action><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>.different-value</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids=\\"5, 7\\"/></oxvg:state></svg>"
173+
"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:oxvg=\\"https://oxvg.noahwbaldwin.me\\">\\n <!-- Should convert to hex -->\\n <g class=\\"different-type different-value\\" color=\\"#000\\"/>\\n <g class=\\"different-value\\" color=\\"#00f\\"/>\\n <path class=\\"different-type same-value\\" fill=\\"#404040\\"/>\\n <path class=\\"same-value\\" fill=\\"#404040\\"/>\\n <path fill=\\"#dcddde\\"/>\\n<oxvg:state><oxvg:history><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>path</oxvg:arg></oxvg:action><oxvg:action oxvg:id=\\"Select\\"><oxvg:arg>.different-value</oxvg:arg></oxvg:action></oxvg:history><oxvg:selection oxvg:ids=\\"5 7\\"/></oxvg:state></svg>"
174174
`;

0 commit comments

Comments
 (0)