aboutsummaryrefslogtreecommitdiffstats
path: root/t/01setter-getter.t
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-05 14:58:01 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-05 14:58:01 +0000
commit536c050a6d1d80f4eb586d06514cb75890f18f70 (patch)
tree10fe26f2ab5255618cf3f12a61da1cf43ff9c7a3 /t/01setter-getter.t
parentd499a918ccc773d13fd0a7517897e4127695237f (diff)
downloadperl-URPM-536c050a6d1d80f4eb586d06514cb75890f18f70.tar
perl-URPM-536c050a6d1d80f4eb586d06514cb75890f18f70.tar.gz
perl-URPM-536c050a6d1d80f4eb586d06514cb75890f18f70.tar.bz2
perl-URPM-536c050a6d1d80f4eb586d06514cb75890f18f70.tar.xz
perl-URPM-536c050a6d1d80f4eb586d06514cb75890f18f70.zip
add a test for payload_format()
Diffstat (limited to 't/01setter-getter.t')
-rw-r--r--t/01setter-getter.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/01setter-getter.t b/t/01setter-getter.t
index 871433d..d9a9795 100644
--- a/t/01setter-getter.t
+++ b/t/01setter-getter.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use Test::More tests => 63;
+use Test::More tests => 64;
use URPM;
@@ -16,6 +16,7 @@ ok(@{$u->{depslist}} == 1, 'depslist');
my $pkg = $u->{depslist}[0];
ok($pkg, 'Package');
+is($pkg->payload_format, 'cpio', 'payload');
is($pkg->rflags, undef, 'default rflags');
is($pkg->set_rflags(1, 3), undef, 'storing rflags');