mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
fix(test): remove duplicate word (#6456)
Signed-off-by: dufucun <dufuchun@sohu.com>
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user