Subject: | 'version' 0.72 through 0.7203 breaks test +PATCH |
Similar to http://rt.cpan.org/Public/Bug/Display.html?id=29136,
upgrading 'version' breaks a test:
t/02_config_tiny....
# Failed test '->dist_version ok'
# at t/02_config_tiny.t line 62.
# got: '2.09'
# expected: '2.090'
# Looks like you failed 1 test of 31.
The fix is simple:
--- t/02_config_tiny.t.orig 2006-10-02 05:51:58.000000000 -0400
+++ t/02_config_tiny.t 2007-09-03 13:08:58.055250000 -0400
@@ -59,7 +59,7 @@
is( $mod->dist_name, 'Config-Tiny', '->dist_name ok' );
my $dist_version = $mod->dist_version;
isa_ok( $dist_version, 'version' );
- is( "$dist_version", '2.090', '->dist_version ok' );
+ is( "$dist_version", '2.09', '->dist_version ok' );
is( "$dist_version"+0, 2.09, '->dist_version ok' );
# Dependencies