Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix freebsd10-64 CI failures #9317

Closed
wants to merge 3 commits into from
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
squash: common.mustCall()
  • Loading branch information
Trott committed Oct 29, 2016
commit 571a6126c1ce3c9346157c2be1b77edf9f304a69
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ const server = tls.createServer({})
c.write(bonkers);
});

}).on('tlsClientError', function(e) {
}).on('tlsClientError', common.mustCall(function(e) {
assert.ok(e instanceof Error,
'Instance of Error should be passed to error handler');
assert.ok(e.message.match(
/SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol/),
'Expecting SSL unknown protocol');

server.close();
});
}));