aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/spawned-child.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/spawned-child.js')
-rw-r--r--test/bun.js/spawned-child.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/bun.js/spawned-child.js b/test/bun.js/spawned-child.js
index d39131933..738d42f7e 100644
--- a/test/bun.js/spawned-child.js
+++ b/test/bun.js/spawned-child.js
@@ -22,6 +22,8 @@ if (TARGET === "STDIN") {
});
} else if (TARGET === "STDOUT") {
process.stdout.write("stdout_test");
+} else if (TARGET === "ERROR") {
+ console.log("oops");
} else {
- console.log("unknown target! you messed up...");
+ // nothing
}