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

Fix syntax of magnet URI test #609

Merged
merged 1 commit into from Feb 10, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -75,6 +75,7 @@
"bittorrent-tracker": "^7.0.0",
"brfs": "^1.2.0",
"browserify": "^13.0.0",
"concat-stream": "^1.5.1",
"cross-spawn-async": "^2.0.0",
"finalhandler": "^0.4.0",
"run-series": "^1.0.2",
@@ -1,5 +1,3 @@
/* global Blob */

var test = require('tape')
var Readable = require('readable-stream').Readable
var WebTorrent = require('../')
@@ -13,7 +11,7 @@ test('client.seed: stream', function (t) {
var tracker = new Tracker()
var seeder, client
tracker.listen(function () {
announce.push('http://localhost:'+tracker.http.address().port)
announce.push('http://localhost:' + tracker.http.address().port)
seeder = new WebTorrent({ dht: false })
client = new WebTorrent({ dht: false })

@@ -25,7 +23,7 @@ test('client.seed: stream', function (t) {
seed()
})
tracker.on('start', function () {
console.log('START', argument)
console.log('START', arguments)
})

t.once('end', function () {
@@ -34,7 +32,7 @@ test('client.seed: stream', function (t) {
tracker.close()
})

var stream = new Readable
var stream = new Readable()
stream._read = function () {}
stream.push('HELLO WORLD\n')
stream.push(null)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.