From 53fa2489b2d17f3a26575542b0a2e49c2b91a3cb Mon Sep 17 00:00:00 2001 From: gregw Date: Wed, 15 Feb 2023 08:55:23 +1100 Subject: [PATCH] fixed commented out test in CookieCutterTest Signed-off-by: gregw --- .../test/java/org/eclipse/jetty/http/CookieCutterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java index 1b760c5023c..2f5257f82a5 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java @@ -139,13 +139,13 @@ public class CookieCutterTest String rawCookie = "$Version=\"1\"; session_id=\"1234\", " + "$Version=\"1\"; session_id=\"1111\"; $Domain=\".cracker.edu\""; - Cookie[] cookies /* = parseCookieHeaders(CookieCompliance.RFC2965_LEGACY, rawCookie); + Cookie[] cookies = parseCookieHeaders(CookieCompliance.RFC2965_LEGACY, rawCookie); assertThat("Cookies.length", cookies.length, is(2)); assertCookie("Cookies[0]", cookies[0], "session_id", "1234", 1, null); assertCookie("Cookies[1]", cookies[1], "session_id", "1111", 1, null); - cookies */ = parseCookieHeaders(CookieCompliance.RFC6265_LEGACY, rawCookie); + cookies = parseCookieHeaders(CookieCompliance.RFC6265_LEGACY, rawCookie); assertThat("Cookies.length", cookies.length, is(2)); assertCookie("Cookies[0]", cookies[0], "session_id", "1234\", $Version=\"1", 0, null); assertCookie("Cookies[1]", cookies[1], "session_id", "1111", 0, null);