Skip Menu |

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 22849
Status: resolved
Priority: 0/
Queue: CGI-Session

People
Owner: Nobody in particular
Requestors: fenlisesi [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: notabug: update load.t for 'Too many args'
the attached patch to t/load.t is due to the new warning 'Too many arguments'. Cheers. --Ali Isik
Subject: load-2006-11-04.t.patch
--- load-original.t 2006-11-04 20:45:06.000000000 +0200 +++ load-edited.t 2006-11-06 19:40:11.000000000 +0200 @@ -12,7 +12,7 @@ use CGI::Session; { my $s = CGI::Session->load('Driver:file;serial:FreezeThaw',undef, Directory=> 'wrong' ); is($s,undef, "undefined session is created with wrong number of args to load"); - like(CGI::Session->errstr, qr/invalid number/, "expected error is returned for wrong number of args"); + like(CGI::Session->errstr, qr/Too many/, "expected error is returned for too many args"); unlike(CGI::Session->errstr, qr/new/, "don't mention new() in error when load() fails directly."); } {
Subject: Re: [rt.cpan.org #22849] notabug: update load.t for 'Too many args'
Date: Mon, 06 Nov 2006 13:13:30 -0500
To: bug-CGI-Session [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Ali ISIK via RT wrote: Show quoted text
> Mon Nov 06 12:51:12 2006: Request 22849 was acted upon. > Transaction: Ticket created by fenlisesi@gmail.com > Queue: CGI-Session > Subject: notabug: update load.t for 'Too many args' > Broken in: (no value) > Severity: Normal > Owner: Nobody > Requestors: fenlisesi@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=22849 > > > > the attached patch to t/load.t is due to the new warning 'Too many > arguments'. Cheers.
Applied cleanly and passed tests. Committed. Thanks. Mark