Skip to content

Commit 8c9f866

Browse files
committed
Add utf8 example to value test
1 parent e408c70 commit 8c9f866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialize.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe("cookie.serialize(name, value, options)", function () {
111111
},
112112
);
113113

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

0 commit comments

Comments
 (0)