mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 00:19:48 +01:00
chore: fix typo (#6609)
Signed-off-by: mountdisk <mountdisk@icloud.com.>
This commit is contained in:
parent
3910323d09
commit
b0ed15b452
|
|
@ -108,7 +108,7 @@ function shouldHaveHeaderValues (key, values) {
|
|||
return function (res) {
|
||||
var headers = res.headers[key.toLowerCase()]
|
||||
assert.ok(headers, 'should have header "' + key + '"')
|
||||
assert.strictEqual(headers.length, values.length, 'should have ' + values.length + ' occurances of "' + key + '"')
|
||||
assert.strictEqual(headers.length, values.length, 'should have ' + values.length + ' occurrences of "' + key + '"')
|
||||
for (var i = 0; i < values.length; i++) {
|
||||
assert.strictEqual(headers[i], values[i])
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user