diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-09-25 01:27:02 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-25 01:27:02 -0400 |
commit | f156a86024fc98e63f42c1c7acccac0af10950ef (patch) | |
tree | c024ecd75f5574e412eba937b1a46d8a0232e234 /libdeno/libdeno_test.js | |
parent | ad5065e23ec33af1422eeffdbb877ef8fd5f6da4 (diff) |
console.warn goes to stderr (#810)
Diffstat (limited to 'libdeno/libdeno_test.js')
-rw-r--r-- | libdeno/libdeno_test.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |