Skip to content

Commit

Permalink
test: remove redundant variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed May 31, 2024
1 parent e8f35c6 commit 836354d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 836354d

Please sign in to comment.