node/test/fixtures/vm/vm_dont_display_syntax_error.snapshot
Moshe Atlow 34bfb69b5b
test: migrate message tests to use assertSnapshot
PR-URL: https://github.com/nodejs/node/pull/47498
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2023-05-12 11:56:58 +02:00

13 lines
266 B
Text

beginning
middle
test.vm:1
var 5;
^
SyntaxError: Unexpected number
at new Script (node:vm:*)
at createScript (node:vm:*)
at Object.runInThisContext (node:vm:*)
at Object.<anonymous> (*fixtures*vm*vm_dont_display_syntax_error.js:41:4)
Node.js *