aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-write-stream-throw-type-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-write-stream-throw-type-error.js')
-rw-r--r--test/parallel/test-fs-write-stream-throw-type-error.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-fs-write-stream-throw-type-error.js b/test/parallel/test-fs-write-stream-throw-type-error.js
index 6369722ac1..007ac03f1b 100644
--- a/test/parallel/test-fs-write-stream-throw-type-error.js
+++ b/test/parallel/test-fs-write-stream-throw-type-error.js
@@ -20,16 +20,16 @@ assert.doesNotThrow(function() {
assert.throws(function() {
fs.createWriteStream(example, null);
-}, /options must be a string or an object/);
+}, /"options" argument must be a string or an object/);
assert.throws(function() {
fs.createWriteStream(example, 123);
-}, /options must be a string or an object/);
+}, /"options" argument must be a string or an object/);
assert.throws(function() {
fs.createWriteStream(example, 0);
-}, /options must be a string or an object/);
+}, /"options" argument must be a string or an object/);
assert.throws(function() {
fs.createWriteStream(example, true);
-}, /options must be a string or an object/);
+}, /"options" argument must be a string or an object/);
assert.throws(function() {
fs.createWriteStream(example, false);
-}, /options must be a string or an object/);
+}, /"options" argument must be a string or an object/);