Sha256: ecc7aef4ce3e0ce39e12e4e98145f555acae5a30612557e472d6874426b70be4
Contents?: true
Size: 341 Bytes
Versions: 5
Compression:
Stored size: 341 Bytes
Contents
'use strict'; var common = require('../common'); var assert = require('assert'); if (!common.hasCrypto) { common.skip('missing crypto'); return; } var tls = require('tls'); var conn = tls.connect(common.PORT, common.fail); conn.on('error', common.mustCall(function() { assert.doesNotThrow(function() { conn.destroy(); }); }));
Version data entries
5 entries across 4 versions & 1 rubygems