Skip to content

Commit

Permalink
Updated to [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed May 19, 2016
1 parent 348c58b commit 8b77a8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"debug": "~2.1.1",
"methods": "~1.1.1",
"parseurl": "~1.3.0",
"path-to-regexp": "0.1.3",
"path-to-regexp": "1.4.0",
"utils-merge": "1.0.0"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion test/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ describe('Router', function () {

it('should reject missing callback', function () {
var router = new Router()
assert.throws(router.bind(router, {}, {}), /argument callback is required/)
assert.throws(function () {
router({}, {})
}, /argument callback is required/)
})

describe('.all(path, fn)', function () {
Expand Down

0 comments on commit 8b77a8b

Please sign in to comment.