tests: Fix build of CookieTest.

This commit is contained in:
Augustin Cavalier 2022-05-27 17:03:37 -04:00
parent 44604448de
commit 122765f7d9

View File

@ -11,7 +11,7 @@
#include <cstring>
#include <cstdio>
#include <NetworkKit.h>
#include <NetworkCookieJar.h>
#include <cppunit/TestCaller.h>
#include <cppunit/TestSuite.h>
@ -761,7 +761,7 @@ CookieTest::ExplodeTest()
{ "; domain=example.com", "http://www.example.com/path/path",
{ false, "name", "value", "www.example.com", "/path", false, false, true, BDateTime() } }
};
BNetworkCookie cookie;
for (uint32 i = 0; i < (sizeof(tests) / sizeof(Test)); i++) {