[libparse-debianchangelog-perl] 32/52: Parse-DebianChangelog.t: Compare version numbers as strings not as numbers

Intrigeri intrigeri at moszumanska.debian.org
Sun May 24 12:37:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch master
in repository libparse-debianchangelog-perl.

commit acb485f1ae2bf051222d33c0b38a61a6e65acea9
Author: Frank Lichtenheld <frank at lichtenheld.de>
Date:   Sat Sep 1 03:39:55 2007 +0200

    Parse-DebianChangelog.t: Compare version numbers as strings not as numbers
---
 t/Parse-DebianChangelog.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/Parse-DebianChangelog.t b/t/Parse-DebianChangelog.t
index 0fea530..bc52339 100644
--- a/t/Parse-DebianChangelog.t
+++ b/t/Parse-DebianChangelog.t
@@ -194,7 +194,7 @@ foreach my $file (qw(Changes t/examples/countme t/examples/shadow)) {
     if ($file eq 'Changes') {
 	my $v = $data[0]->Version;
 	$v =~ s/[a-z]$//;
-	cmp_ok( $v, '==', $Parse::DebianChangelog::VERSION,
+	cmp_ok( $v, 'eq', $Parse::DebianChangelog::VERSION,
 		'version numbers in module and Changes match' );
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git



More information about the Pkg-perl-cvs-commits mailing list