Changeset 737


Ignore:
Timestamp:
Mar 5, 2006, 10:39:39 AM (16 years ago)
Author:
Ivor Williams
Message:

Fixed #88

Redirect test can now cope with both 302 Moved and 302 Found

File:
1 edited

Legend:

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

    r717 r737  
    8282                            vars          => { search => "weebl" },
    8383                          );
    84     unlike( $output, qr/Status: 302 Moved/,
     84    unlike( $output, qr/Status: 302 (?:Moved|Found)/,
    8585            "no redirect if match only in body");
    8686
     
    9090                            vars          => { search => "want pie now" },
    9191                          );
    92     like( $output, qr/Status: 302 Moved/,
     92    like( $output, qr/Status: 302 (?:Moved|Found)/,
    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.