From f156a86024fc98e63f42c1c7acccac0af10950ef Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Tue, 25 Sep 2018 01:27:02 -0400 Subject: console.warn goes to stderr (#810) --- libdeno/libdeno_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdeno/libdeno_test.js') diff --git a/libdeno/libdeno_test.js b/libdeno/libdeno_test.js index ec8e4c752..e0d1d7252 100644 --- a/libdeno/libdeno_test.js +++ b/libdeno/libdeno_test.js @@ -112,7 +112,7 @@ global.SnapshotBug = () => { global.GlobalErrorHandling = () => { libdeno.setGlobalErrorHandler((message, source, line, col, error) => { - libdeno.print(`line ${line} col ${col}`); + libdeno.print(`line ${line} col ${col}`, true); assert("ReferenceError: notdefined is not defined" === message); assert(source === "helloworld.js"); assert(line === 3); -- cgit v1.2.3