From 9e819ba3fee4c42b977e4962cab13010188e2af1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 2 Dec 2015 18:24:10 -0800 Subject: [PATCH] standard --- test/fetch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fetch.js b/test/fetch.js index 17e860a..50a57bf 100644 --- a/test/fetch.js +++ b/test/fetch.js @@ -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') })