From 836354d2e0d719b23c02c98ccc8ec110fb295c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulises=20Gasc=C3=B3n?= Date: Fri, 31 May 2024 10:54:25 +0200 Subject: [PATCH] test: remove redundant variable declaration --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index a3ed9d5..bc7ac8c 100644 --- a/test.js +++ b/test.js @@ -85,7 +85,7 @@ test(app, 'basicAuth(user, pass)'); -var app = connect(); +app = connect(); app.use(basicAuth(function(user, pass){ return 'tj' == user && 'tobi:learnboost' == pass; @@ -100,7 +100,7 @@ test(app, 'basicAuth(callback)'); -var app = connect(); +app = connect(); app.use(basicAuth(function(user, pass, fn){ var ok = 'tj' == user && 'tobi:learnboost' == pass;