fix(test): remove duplicate word (#6456)

Signed-off-by: dufucun <dufuchun@sohu.com>
This commit is contained in:
dufucun 2025-04-17 00:18:38 +08:00 committed by GitHub
parent 5da5a11a49
commit f9954dd317
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1156,7 +1156,7 @@ describe('app.router', function () {
assert.strictEqual(app.get('/', function () { }), app) 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 // more context: https://github.com/expressjs/express/issues/5743#issuecomment-2277148412
var app = express(); var app = express();

View File

@ -237,7 +237,7 @@ function test(app) {
}) })
describe('when no match is made', function(){ 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) request(app)
.get('/') .get('/')
.set('Accept', 'foo/bar') .set('Accept', 'foo/bar')