mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
chore: fix typo (#6609)
Signed-off-by: mountdisk <mountdisk@icloud.com.>
This commit is contained in:
@@ -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])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user