summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-non-number-arguments-throw.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-non-number-arguments-throw.js')
-rw-r--r--test/parallel/test-fs-non-number-arguments-throw.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-fs-non-number-arguments-throw.js b/test/parallel/test-fs-non-number-arguments-throw.js
index b13041ca3e..3e40a5fd41 100644
--- a/test/parallel/test-fs-non-number-arguments-throw.js
+++ b/test/parallel/test-fs-non-number-arguments-throw.js
@@ -16,17 +16,17 @@ const saneEmitter = fs.createReadStream(tempFile, { start: 4, end: 6 });
assert.throws(function() {
fs.createReadStream(tempFile, { start: '4', end: 6 });
}, /^TypeError: "start" option must be a Number$/,
- "start as string didn't throw an error for createReadStream");
+ "start as string didn't throw an error for createReadStream");
assert.throws(function() {
fs.createReadStream(tempFile, { start: 4, end: '6' });
}, /^TypeError: "end" option must be a Number$/,
- "end as string didn't throw an error for createReadStream");
+ "end as string didn't throw an error for createReadStream");
assert.throws(function() {
fs.createWriteStream(tempFile, { start: '4' });
}, /^TypeError: "start" option must be a Number$/,
- "start as string didn't throw an error for createWriteStream");
+ "start as string didn't throw an error for createWriteStream");
saneEmitter.on('data', common.mustCall(function(data) {
assert.strictEqual(sanity, data.toString('utf8'), 'read ' +