test: use regluar expression in vm test · nodejs/node@94ff591 · GitHub
Skip to content

Commit 94ff591

Browse files
AkiraXueMylesBorins
authored andcommitted
test: use regluar expression in vm test
update test/parallel/test-vm-create-context-arg.js in line 27 to change `TypeError` to the regular expression with the `/^TypeError: sandbox must be an object$/`. PR-URL: #14266 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 8b945e7 commit 94ff591

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-vm-create-context-arg.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)