Skip to content

Commit

Permalink
test: remove redundant variable declaration (#6)
Browse files Browse the repository at this point in the history
PR-URL: #6
  • Loading branch information
UlisesGascon authored Aug 1, 2024
1 parent e8f35c6 commit b05baf8
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 b05baf8

Please sign in to comment.