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;