X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Frdbo_consistency.t;h=89d78a5577f4e2057256b89dc174c27b298f9ce0;hb=e90048c8180f32f52f3f12ee52eb7269c4b27fcf;hp=7b5cedb3eb31e01ef62bb7b96c0946c638242af1;hpb=9443fef35c0b8627d3690526de7df7eb49ff1ca0;p=kivitendo-erp.git diff --git a/t/rdbo_consistency.t b/t/rdbo_consistency.t index 7b5cedb3e..89d78a557 100644 --- a/t/rdbo_consistency.t +++ b/t/rdbo_consistency.t @@ -49,6 +49,7 @@ sub test_db_included_in_all { sub test_use_in_all_exists_as_db { foreach my $package (map { m/^use\s+(.+?);/; $1 } grep { '^use SL::DB::' } split m/\n/, $all_content) { + next unless $package; next unless $package =~ m/^SL::DB::(.+)/; my $file = $1; $file =~ s{::}{/}g;