summaryrefslogtreecommitdiff
path: root/test/parallel/test-zlib-truncated.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-zlib-truncated.js')
-rw-r--r--test/parallel/test-zlib-truncated.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-zlib-truncated.js b/test/parallel/test-zlib-truncated.js
index e04ef7e3d8..d8a04d3c0c 100644
--- a/test/parallel/test-zlib-truncated.js
+++ b/test/parallel/test-zlib-truncated.js
@@ -1,5 +1,5 @@
'use strict';
-// tests zlib streams with truncated compressed input
+// Tests zlib streams with truncated compressed input
require('../common');
const assert = require('assert');
@@ -50,11 +50,11 @@ const errMessage = /unexpected end of file/;
const syncFlushOpt = { finishFlush: zlib.constants.Z_SYNC_FLUSH };
- // sync truncated input test, finishFlush = Z_SYNC_FLUSH
+ // Sync truncated input test, finishFlush = Z_SYNC_FLUSH
const result = toUTF8(zlib[methods.decompSync](truncated, syncFlushOpt));
assert.strictEqual(result, inputString.substr(0, result.length));
- // async truncated input test, finishFlush = Z_SYNC_FLUSH
+ // Async truncated input test, finishFlush = Z_SYNC_FLUSH
zlib[methods.decomp](truncated, syncFlushOpt, function(err, decompressed) {
assert.ifError(err);
const result = toUTF8(decompressed);