diff --git a/test/parallel/test-tls-handshake-error.js b/test/parallel/test-tls-handshake-error.js index 2aef1adcc38c1f..500e7a0cc6016c 100644 --- a/test/parallel/test-tls-handshake-error.js +++ b/test/parallel/test-tls-handshake-error.js @@ -19,7 +19,7 @@ const server = tls.createServer({ assert.throws(() => { tls.connect({ port: this.address().port, - ciphers: 'RC4' + ciphers: 'no-such-cipher' }, common.mustNotCall()); }, /no cipher match/i);