summaryrefslogtreecommitdiff
path: root/test/parallel/test-readline-csi.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-readline-csi.js')
-rw-r--r--test/parallel/test-readline-csi.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-readline-csi.js b/test/parallel/test-readline-csi.js
index 54ca6bde97..f5c2d3044c 100644
--- a/test/parallel/test-readline-csi.js
+++ b/test/parallel/test-readline-csi.js
@@ -61,6 +61,7 @@ assert.deepStrictEqual(writable.data, CSI.kClearLine);
assert.deepStrictEqual(writable.data, set[2]);
});
+// Undefined or null as stream should not throw.
readline.cursorTo(null);
readline.cursorTo();