summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-04-26 22:08:30 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-04-27 00:05:25 +0200
commitdf96af247887505c33a7fbc8d40865962df8c528 (patch)
tree7385438b0a11bb3d04dc6f3e1ebfd5cf252c1d2e
parent0496f6464d9f741afb7450973ecac4b2565e36c0 (diff)
downloadperl-RPM4-df96af247887505c33a7fbc8d40865962df8c528.tar
perl-RPM4-df96af247887505c33a7fbc8d40865962df8c528.tar.gz
perl-RPM4-df96af247887505c33a7fbc8d40865962df8c528.tar.bz2
perl-RPM4-df96af247887505c33a7fbc8d40865962df8c528.tar.xz
perl-RPM4-df96af247887505c33a7fbc8d40865962df8c528.zip
(process_problems) skip tests if no problems
-rw-r--r--RPM4/t/05transaction.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/RPM4/t/05transaction.t b/RPM4/t/05transaction.t
index 8635207..9d2905c 100644
--- a/RPM4/t/05transaction.t
+++ b/RPM4/t/05transaction.t
@@ -146,6 +146,7 @@ sub callback {
sub process_problems() {
my $pbs = RPM4::Transaction::Problems->new($ts);
+ return if !$pbs;
isa_ok(
$pbs,
'RPM4::Transaction::Problems',