diff options
Diffstat (limited to 'test/basic-node.js')
-rw-r--r-- | test/basic-node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic-node.js b/test/basic-node.js index cfdc70f..494dace 100644 --- a/test/basic-node.js +++ b/test/basic-node.js @@ -16,7 +16,7 @@ test('client.add: http url to a torrent file, string', function (t) { t.plan(3) var server = http.createServer(function (req, res) { - t.equal(req.headers['user-agent'], 'WebTorrent (http://webtorrent.io)') + t.ok(req.headers['user-agent'].indexOf('WebTorrent') !== -1) res.end(leaves) }) |