Skip to content

Commit b05baf8

Browse files
authored
test: remove redundant variable declaration (#6)
PR-URL: #6
1 parent e8f35c6 commit b05baf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ test(app, 'basicAuth(user, pass)');
8585

8686

8787

88-
var app = connect();
88+
app = connect();
8989

9090
app.use(basicAuth(function(user, pass){
9191
return 'tj' == user && 'tobi:learnboost' == pass;
@@ -100,7 +100,7 @@ test(app, 'basicAuth(callback)');
100100

101101

102102

103-
var app = connect();
103+
app = connect();
104104

105105
app.use(basicAuth(function(user, pass, fn){
106106
var ok = 'tj' == user && 'tobi:learnboost' == pass;

0 commit comments

Comments
 (0)