Skip to content

Commit

Permalink
Last typo fix in tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
webcarrot authored Sep 2, 2016
1 parent 5922897 commit 5564f46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ describe('Router', function () {
var routeFoo = router.getRoute(arrayPathWithDifferentPropsFoo);
expect(routeFoo.params.foo).to.equal('foo');
var routeBar = router.getRoute(arrayPathWithDifferentPropsBar);
expect(routeBar.params.foo).to.equal('bar');
expect(routeBar.params.bar).to.equal('bar');
});
it('should handle a hash fragment with a question-mark', function () {
var route = router.getRoute('/finance/news/test.html#?', {method: 'get'});
Expand Down Expand Up @@ -425,11 +425,11 @@ describe('Router', function () {
});
it('array path with different props', function () {
var pathFoo = router.makePath('array_path_with_different_props', {
foo: "foo"
foo: 'foo'
});
expect(pathFoo).to.equal(arrayPathWithDifferentPropsFoo);
var pathBar = router.makePath('array_path_with_different_props', {
bar: "bar"
bar: 'bar'
});
expect(pathBar).to.equal(arrayPathWithDifferentPropsBar);
var pathInvalid = router.makePath('array_path_with_different_props', {});
Expand Down

0 comments on commit 5564f46

Please sign in to comment.