projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b1d1155
)
silence warning
Rafael Kitover [Sun, 23 May 2010 05:26:11 +0000 (
01:26
-0400)]
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
b/t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
index
7e046fc
..
a67eb61
100644
(file)
--- a/
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
+++ b/
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm
@@
-553,7
+553,10
@@
sub run_tests {
$dbh->disconnect;
}
- my @new = $conn->rescan;
+ my @new = do {
+ local $SIG{__WARN__} = sub {};
+ $conn->rescan;
+ };
is(scalar(@new), 1);
is($new[0], 'LoaderTest30');