diff --git a/test/simple/test-crypto-stream.js b/test/simple/test-crypto-stream.js index 402761e1b4..ff58e8040b 100644 --- a/test/simple/test-crypto-stream.js +++ b/test/simple/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(/:00000000:/.test(err)); + assert(/Unsupported/.test(err)); })); cipher.end('Papaya!'); // Should not cause an unhandled exception.