Changeset 521

Show
Ignore:
Timestamp:
08/04/10 22:11:26 (18 months ago)
Author:
dom
Message:

Fix Win32 test failure  http://www.cpantesters.org/cpan/report/8099980
(thanks to Alexandr Ciornii for the patch)

Location:
wiki-toolkit/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/Changes

    r515 r521  
     10.79 
     2        Fix Win32 test failure http://www.cpantesters.org/cpan/report/8099980 
     3        (thanks to Alexandr Ciornii for the patch) 
     4 
    150.78    16 December 2009 
    26        Fix various POD errors and add POD testing (#45) 
  • wiki-toolkit/trunk/t/052_sqlite_store.t

    r209 r521  
    7070        # (we don't actually care). 
    7171        my $fake_dbh = Test::MockObject->new(); 
    72         $fake_dbh->mock("do", sub { die "Dave told us to"; }); 
     72        $fake_dbh->mock("quote", sub { die "Dave told us to"; }); 
     73        $fake_dbh->set_true("begin_work"); 
    7374        $fake_dbh->set_true("rollback"); 
    7475        $fake_dbh->set_true("disconnect"); 
     
    7980                                          checksum => $node_data{checksum} ); 
    8081        }; 
    81         ok( $@ =~ /Dave told us to/, "...and croaks on database error" ); 
     82        like( $@,qr/Dave told us to/, "...and croaks on database error" ); 
    8283    } 
    8384}