0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/simple/test-regress-GH-819.js

8 lines
207 B
JavaScript

var common = require('../common');
var net = require('net');
var assert = require('assert');
// Connect to something that we need to DNS resolve
var c = net.createConnection(80, "google.com");
c.destroy();