Changeset 738 for trunk/t/31_search.t


Ignore:
Timestamp:
Mar 5, 2006, 10:50:23 AM (16 years ago)
Author:
Dominic Hargreaves
Message:

Further fix for 302 status change (references #88)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/31_search.t

    r737 r738  
    8282                            vars          => { search => "weebl" },
    8383                          );
    84     unlike( $output, qr/Status: 302 (?:Moved|Found)/,
     84    unlike( $output, qr/Status: 302/,
    8585            "no redirect if match only in body");
    8686
     
    9090                            vars          => { search => "want pie now" },
    9191                          );
    92     like( $output, qr/Status: 302 (?:Moved|Found)/,
     92    like( $output, qr/Status: 302/,
    9393          "prints redirect on single hit and match in title" );
    9494    # Old versions of CGI.pm mistakenly print location: instead of Location:
Note: See TracChangeset for help on using the changeset viewer.