Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[squash] make linter happy
  • Loading branch information
addaleax committed Dec 23, 2017
commit d73dcd681a401b3b4065c0fe8af68ccc3cdc6e03
7 changes: 1 addition & 6 deletions test/parallel/test-tls-socket-snicallback-without-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@ const tls = require('tls');
const fixtures = require('../common/fixtures');
const makeDuplexPair = require('../common/duplexpair');

const sslcontext = tls.createSecureContext({
cert: fixtures.readSync('test_cert.pem'),
key: fixtures.readSync('test_key.pem')
});

const { clientSide, serverSide } = makeDuplexPair();
const tlsSocket = new tls.TLSSocket(serverSide, {
new tls.TLSSocket(serverSide, {
isServer: true,
SNICallback: common.mustCall((servername, cb) => {
assert.strictEqual('www.google.com', servername);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can you please swap the args?

Expand Down