Skip to content

Commit

Permalink
Tests should have different names
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed Mar 8, 2022
1 parent a75ee5a commit 3c89977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('rewrite tests', function () {
rewriteFunc = rewrite('/:src..:dst', '/commits/$1/to/$2');
});

it('rewrites if path matches', function () {
it('rewrites if path matches 2', function () {
req.url = '/foo..bar';

rewriteFunc(req, res, next);
Expand All @@ -68,7 +68,7 @@ describe('rewrite tests', function () {
expect(next).to.have.been.calledWith();
});

it('does not rewrite if path does not match', function () {
it('does not rewrite if path does not match 2', function () {
testNegativeCase(rewriteFunc, req, res, next);
});
});
Expand Down

0 comments on commit 3c89977

Please sign in to comment.