projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f709d
)
test: use common.PORT in simple/test-net-GH-5504
author
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 9 Aug 2013 05:33:18 +0000
(07:33 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Fri, 9 Aug 2013 05:33:31 +0000
(07:33 +0200)
test/simple/test-net-GH-5504.js
patch
|
blob
|
history
diff --git
a/test/simple/test-net-GH-5504.js
b/test/simple/test-net-GH-5504.js
index
d5059f0
..
08aceb8
100644
(file)
--- a/
test/simple/test-net-GH-5504.js
+++ b/
test/simple/test-net-GH-5504.js
@@
-51,7
+51,7
@@
function server() {
console.error('_socketEnd');
});
socket.write(content);
- }).listen(
3000
, function() {
+ }).listen(
common.PORT
, function() {
console.log('listening');
});
}
@@
-60,7
+60,7
@@
function client() {
var net = require('net');
var client = net.connect({
host: 'localhost',
- port:
3000
+ port:
common.PORT
}, function() {
client.destroy();
});