From d748fc4d371cb7f4def06d11565637838e6c5762 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:26:55 -0500 Subject: [PATCH 1/2] spelling: charset Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 5c1d2b8..62a4404 100644 --- a/test/test.js +++ b/test/test.js @@ -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' } From 5a625719b84f8d0bce48d7bca86ada09cce81e2a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:27:22 -0500 Subject: [PATCH 2/2] spelling: invalid Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 62a4404..f0a4a29 100644 --- a/test/test.js +++ b/test/test.js @@ -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/) })