Skip to content

Commit 9e22aa4

Browse files
committed
cleanup tests
1 parent 2b248d9 commit 9e22aa4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/client.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ var parsedTorrent = parseTorrent(torrent)
99
var peerId1 = new Buffer('01234567890123456789')
1010
var peerId2 = new Buffer('12345678901234567890')
1111
var peerId3 = new Buffer('23456789012345678901')
12-
var announceUrl = ''
1312
var port = 6881
1413

1514
function testClientStart (t, serverType) {

test/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exports.createServer = function (t, serverType, cb) {
1616
portfinder.getPort(function (err, port) {
1717
if (err) return t.error(err)
1818

19-
announceUrl = serverType === 'http'
19+
var announceUrl = serverType === 'http'
2020
? 'http://127.0.0.1:' + port + '/announce'
2121
: 'udp://127.0.0.1:' + port
2222

0 commit comments

Comments
 (0)