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.");
}
{