From f9954dd317a1b534e62a5ae3aa7f52f3582b8881 Mon Sep 17 00:00:00 2001 From: dufucun Date: Thu, 17 Apr 2025 00:18:38 +0800 Subject: [PATCH] fix(test): remove duplicate word (#6456) Signed-off-by: dufucun --- test/app.router.js | 2 +- test/res.format.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/app.router.js b/test/app.router.js index 017f4f4e..6e7be684 100644 --- a/test/app.router.js +++ b/test/app.router.js @@ -1156,7 +1156,7 @@ describe('app.router', function () { assert.strictEqual(app.get('/', function () { }), app) }) - it('should should not use disposed router/middleware', function (done) { + it('should not use disposed router/middleware', function (done) { // more context: https://github.com/expressjs/express/issues/5743#issuecomment-2277148412 var app = express(); diff --git a/test/res.format.js b/test/res.format.js index be427309..0d770d57 100644 --- a/test/res.format.js +++ b/test/res.format.js @@ -237,7 +237,7 @@ function test(app) { }) describe('when no match is made', function(){ - it('should should respond with 406 not acceptable', function(done){ + it('should respond with 406 not acceptable', function(done){ request(app) .get('/') .set('Accept', 'foo/bar')