Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
maddsua committed Feb 10, 2024
1 parent 5f1a22f commit 490d9f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/cookie/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ int main(int argc, char const *argv[]) {
newCookies.set("userid", "test_user_0");
newCookies.set("x_lambda", "control", {
"Secure",
{"expires", "23 Oct 2077 08:28:00 GMT"}
{ "expires", "23 Oct 2077 08:28:00 GMT" }
});

const auto generated = Strings::join(newCookies.serialize(), "\n");

if (generated != compareValid) {
Expand All @@ -29,5 +29,7 @@ int main(int argc, char const *argv[]) {
}
}

puts("Cookie serialization test ok");

return 0;
}

0 comments on commit 490d9f0

Please sign in to comment.