[prev in list] [next in list] [prev in thread] [next in thread]
List: mason-cvs
Subject: [Mason-checkins] CVS: mason/dist/t 14-cgi.t,1.8,1.9
From: Dave Rolsky <autarch () users ! sourceforge ! net>
Date: 2004-12-25 16:36:07
Message-ID: E1CiEtj-0008Bc-6W () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/mason/mason/dist/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31407/t
Modified Files:
14-cgi.t
Log Message:
make header regexes case-insensitive to work with older CGI.pm
Index: 14-cgi.t
===================================================================
RCS file: /cvsroot/mason/mason/dist/t/14-cgi.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- 14-cgi.t 10 Oct 2004 16:49:43 -0000 1.8
+++ 14-cgi.t 25 Dec 2004 16:35:53 -0000 1.9
@@ -107,13 +107,13 @@
$group->add_test( name => 'headers',
description => 'Test header generation',
component => q{% $r->header_out('foo' => 'bar');},
- expect => qr/Foo: bar/,
+ expect => qr/Foo: bar/i,
);
$group->add_test( name => 'redirect_headers',
description => 'Test header generation',
component => q{% $m->redirect('/hello.html');},
- expect => qr/Status: 302\s+Location: \/hello\.html|Location: \/hello\.html\s+Status: 302/,
+ expect => qr/Status: 302\s+Location: \/hello\.html|Location: \/hello\.html\s+Status: 302/i,
);
#------------------------------------------------------------
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Mason-checkins mailing list
Mason-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic