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

Update simple-get to version 2.0.0 πŸš€ #617

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

Always

Just for now

Prev

changes for simple-get 2.0.0

  • Loading branch information
feross committed Feb 14, 2016
commit c6105a4d3ad063d9ccc8762d5f50bebfcbfd1982
@@ -28,13 +28,13 @@ test('torrent.createServer: programmatic http server', function (t) {
var host = 'http://localhost:' + port

// Index page should list files in the torrent
get.concat(host + '/', function (err, data) {
get.concat(host + '/', function (err, res, data) {
t.error(err, 'got http response for /')
data = data.toString()
t.ok(data.indexOf('Leaves of Grass by Walt Whitman.epub') !== -1)

// Verify file content for first (and only) file
get.concat(host + '/0', function (err, data) {
get.concat(host + '/0', function (err, res, data) {
t.error(err, 'got http response for /0')
t.deepEqual(data, common.leaves.content)

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.