Skip to content

Commit 77a58d9

Browse files
committed
minor test cleanup
1 parent 934bacf commit 77a58d9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/typegpu/tests/tgsl/wgslGenerator.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,12 +517,6 @@ describe('wgslGenerator', () => {
517517
}
518518
};
519519

520-
const parsed = getMetaData(main)?.ast?.body;
521-
522-
expect(JSON.stringify(parsed)).toMatchInlineSnapshot(
523-
`"[0,[[13,"arr",[6,[6,[7,"d","arrayOf"],[[7,"d","vec2f"],[5,"3"]]],[[100,[[6,[7,"d","vec2f"],[[5,"1"]]],[6,[7,"d","vec2f"],[[5,"2"]]],[6,[7,"d","vec2f"],[[5,"3"]]]]]]]],[12,"res",[5,"0"]],[18,[13,"foo"],"arr",[0,[[2,"res","+=",[7,"foo","x"]],[13,"i","res"]]]]]]"`,
524-
);
525-
526520
expect(tgpu.resolve([main])).toMatchInlineSnapshot(`
527521
"fn main() {
528522
var arr = array<vec2f, 3>(vec2f(1), vec2f(2), vec2f(3));

0 commit comments

Comments
 (0)