This commit is contained in:
Feross Aboukhadijeh 2015-12-02 18:24:10 -08:00
parent 32f5c04b00
commit 9e819ba3fe
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ test('fetch() from peer without metadata', function (t) {
// extended handshake, so he doesn't have metadata
}
wire2.ut_metadata.on('warning', function (err) {
wire2.ut_metadata.on('warning', function () {
t.pass('got warning about peer missing metadata')
})
@ -197,7 +197,7 @@ test('discard invalid metadata', function (t) {
t.fail('No "metadata" event should fire')
})
wire2.ut_metadata.on('warning', function (err) {
wire2.ut_metadata.on('warning', function () {
t.pass('got warning because peer sent reject too much')
})