Skip to content

Commit

Permalink
Add utf8 example to value test
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Nov 15, 2024
1 parent e408c70 commit 8c9f866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialize.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe("cookie.serialize(name, value, options)", function () {
},
);

it.each([["+\n"], ["foo bar"], ["foo\tbar"], ["foo;bar"]])(
it.each([["+\n"], ["foo bar"], ["foo\tbar"], ["foo;bar"], ["foo\u280a"]])(
"should throw for invalid value: %s",
(value) => {
expect(() =>
Expand Down

0 comments on commit 8c9f866

Please sign in to comment.