Changeset 521
- Timestamp:
- 08/04/10 22:11:26 (18 months ago)
- Location:
- wiki-toolkit/trunk
- Files:
-
- 2 modified
-
Changes (modified) (1 diff)
-
t/052_sqlite_store.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wiki-toolkit/trunk/Changes
r515 r521 1 0.79 2 Fix Win32 test failure http://www.cpantesters.org/cpan/report/8099980 3 (thanks to Alexandr Ciornii for the patch) 4 1 5 0.78 16 December 2009 2 6 Fix various POD errors and add POD testing (#45) -
wiki-toolkit/trunk/t/052_sqlite_store.t
r209 r521 70 70 # (we don't actually care). 71 71 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"); 73 74 $fake_dbh->set_true("rollback"); 74 75 $fake_dbh->set_true("disconnect"); … … 79 80 checksum => $node_data{checksum} ); 80 81 }; 81 ok( $@ =~/Dave told us to/, "...and croaks on database error" );82 like( $@,qr/Dave told us to/, "...and croaks on database error" ); 82 83 } 83 84 }
