test: another fix for test-crypto-stream
authorFedor Indutny <fedor@indutny.com>
Fri, 28 Nov 2014 14:13:12 +0000 (17:13 +0300)
committerFedor Indutny <fedor@indutny.com>
Fri, 28 Nov 2014 14:13:12 +0000 (17:13 +0300)
Reviewed-By: Fedor Indutny <fedor@indutny.com>
test/simple/test-crypto-stream.js

index 402761e..ff58e80 100644 (file)
@@ -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.