2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Fixed unit test error.
	* test/HttpResponseTest.cc 
	(HttpResponseTest::testRetrieveCookie)
pull/1/head
Tatsuhiro Tsujikawa 2009-01-04 11:37:04 +00:00
parent 6242d45531
commit 5325ec4155
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-01-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed unit test error.
* test/HttpResponseTest.cc (HttpResponseTest::testRetrieveCookie)
2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2008-12-30 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
* Release 1.1.2 * Release 1.1.2

View File

@ -479,7 +479,7 @@ void HttpResponseTest::testRetrieveCookie()
httpHeader->put("Set-Cookie", "k1=v1; expires=Sun, 10-Jun-2007 11:00:00 GMT;" httpHeader->put("Set-Cookie", "k1=v1; expires=Sun, 10-Jun-2007 11:00:00 GMT;"
"path=/; domain=.aria2.org;"); "path=/; domain=.aria2.org;");
httpHeader->put("Set-Cookie", "k2=v2; expires=Sun, 01-Jan-09 00:00:00 GMT;" httpHeader->put("Set-Cookie", "k2=v2; expires=Sun, 01-Jan-38 00:00:00 GMT;"
"path=/; domain=.aria2.org;"); "path=/; domain=.aria2.org;");
httpHeader->put("Set-Cookie", "k3=v3;"); httpHeader->put("Set-Cookie", "k3=v3;");