node/test/fixtures/vm/vm_display_syntax_error.snapshot
Moshe Atlow b6738c1af0
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-04-27 06:41:58 +00:00

22 lines
486 B
Plaintext

beginning
foo.vm:1
var 4;
^
SyntaxError: Unexpected number
at new Script (node:vm:*)
at createScript (node:vm:*)
at Object.runInThisContext (node:vm:*)
at Object.<anonymous> (*fixtures*vm*vm_display_syntax_error.js:31:6)
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_display_syntax_error.js:36:4)
Node.js *