Added support for Epoch field. And tests for it.
This commit is contained in:
parent
988fa070c7
commit
8594393315
3 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
use Test::More tests => 10;
|
||||
use Test::More tests => 11;
|
||||
BEGIN { use_ok('Parse::RPM::Spec') };
|
||||
|
||||
ok($spec = Parse::RPM::Spec->new( { file => 't/file.spec' } ));
|
||||
|
@ -6,6 +6,7 @@ isa_ok($spec, 'Parse::RPM::Spec');
|
|||
|
||||
is($spec->name, 'perl-Array-Compare');
|
||||
is($spec->summary, 'Perl extension for comparing arrays');
|
||||
is($spec->epoch, 1);
|
||||
|
||||
is($spec->version, '1.16');
|
||||
$spec->version('1.17');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue