silence warning
Rafael Kitover [Sun, 23 May 2010 05:26:11 +0000 (01:26 -0400)]
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm

index 7e046fc..a67eb61 100644 (file)
@@ -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');