Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Fix for failing tests and code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Filipe committed Oct 3, 2014
1 parent 7f6ad82 commit 069701c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
},

"static": {
"serveStatic": {
"enabled": true,
"priority": 30,
"module": {
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/race.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"simultaneous": {
"enabled": true,
"enabled": true,
"priority": 50,
"race": {
"middlewareA": {
Expand Down
2 changes: 1 addition & 1 deletion test/meddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ test('priority', function (t) {
entry = app._router.stack[3];
t.ok(entry, 'position 3 middleware exists');
t.equal(typeof entry.handle, 'function', 'position 3 middleware is a function');
t.equal(entry.handle.name, 'staticMiddleware', 'position 3 middleware has the expected name');
t.equal(entry.handle.name, 'serveStatic', 'position 3 middleware has the expected name');

entry = app._router.stack[4];
t.ok(entry, 'position 4 middleware exists');
Expand Down

0 comments on commit 069701c

Please sign in to comment.