Changeset 830

Show
Ignore:
Timestamp:
05/26/06 17:18:54
Author:
miyagawa
Message:

fix tests

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/t/plugins/Filter-FeedBurnerPermalink/feedburner.t

    r829 r830  
    11use strict; 
    2 use Test::More tests => 2
     2use Test::More tests => 1
    33 
    44use Plagger; 
    55 
    6 Plagger->bootstrap(config => \<<'CONFIG'); 
     6my $log; 
     7{ local $SIG{__WARN__} = sub { $log .= "@_" }; 
     8  Plagger->bootstrap(config => \<<'CONFIG'); 
    79global: 
    810  log: 
     
    1618  - module: Filter::FeedBurnerPermalink 
    1719CONFIG 
     20} 
     21 
     22like $log, qr/Permalink rewritten to/;