Skip to content

Commit 0886c71

Browse files
committed
reuse compile helper in syntax freeze test cases
1 parent 237f819 commit 0886c71

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

vibes/syntax_freeze_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ end`,
107107

108108
for _, tc := range cases {
109109
t.Run(tc.name, func(t *testing.T) {
110-
if _, err := engine.Compile(tc.source); err != nil {
111-
t.Fatalf("compile failed: %v", err)
112-
}
110+
_ = compileScriptWithEngine(t, engine, tc.source)
113111
})
114112
}
115113
}

0 commit comments

Comments
 (0)