summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/parallel/test-crypto-stream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-crypto-stream.js b/test/parallel/test-crypto-stream.js
index ff58e8040b..34eb3c18d8 100644
--- a/test/parallel/test-crypto-stream.js
+++ b/test/parallel/test-crypto-stream.js
@@ -70,7 +70,7 @@ var key = new Buffer('48fb56eb10ffeb13fc0ef551bbca3b1b', 'hex'),
cipher.pipe(decipher)
.on('error', common.mustCall(function end(err) {
- assert(/Unsupported/.test(err));
+ assert(/bad decrypt/.test(err));
}));
cipher.end('Papaya!'); // Should not cause an unhandled exception.