Skip to content

Commit

Permalink
tests: Spelling (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref authored Nov 8, 2024
1 parent 8710c1c commit 4b4684a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ describe('contentDisposition(filename, options)', function () {
})

it('should require a valid type', function () {
assert.throws(contentDisposition.bind(null, undefined, { type: 'invlaid;type' }),
assert.throws(contentDisposition.bind(null, undefined, { type: 'invalid;type' }),
/invalid type/)
})

Expand Down Expand Up @@ -369,7 +369,7 @@ describe('contentDisposition.parse(string)', function () {
}))
})

it('should not be case-sensitive for charser', function () {
it('should not be case-sensitive for charset', function () {
assert.ok(deepEqual(contentDisposition.parse('attachment; filename*=utf-8\'\'%E2%82%AC%20rates.pdf'), {
type: 'attachment',
parameters: { filename: '€ rates.pdf' }
Expand Down

0 comments on commit 4b4684a

Please sign in to comment.