dagolden / HTTP-CookieJar

A minimalist HTTP user agent cookie jar
2 stars 7 forks source link

hash randomization breaks t/zzz-lwp.t #2

Closed andk closed 11 years ago

andk commented 11 years ago

The test in line 228 asserts that the cookie must have a semi after the value (https://metacpan.org/source/DAGOLDEN/HTTP-CookieJar-0.004/t/zzz-lwp.t#L228):

like($cookie, qr/Part_Number=Rocket_Launcher_0001;/);

But if the cookie producer has hash randomization this semi can be omitted when the order is a different one.

Sample fail report:

http://www.cpantesters.org/cpan/report/31471616

Regards,

dagolden commented 11 years ago

Thanks. Fixed and shipped.