diff --git a/test/parallel/test-tls-no-sslv3.js b/test/parallel/test-tls-no-sslv3.js index dbe19957306017..0fc0dcc3ae3fea 100644 --- a/test/parallel/test-tls-no-sslv3.js +++ b/test/parallel/test-tls-no-sslv3.js @@ -36,5 +36,5 @@ server.listen(common.PORT, '127.0.0.1', function() { }); server.once('clientError', common.mustCall(function(err, conn) { - assert(/SSL3_GET_CLIENT_HELLO:wrong version number/.test(err.message)); + assert(/:wrong version number/.test(err.message)); }));