aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-07-21 00:03:25 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-07-21 00:03:51 +0200
commit5bb8c2decfb00205492803ec6558e84d698babd0 (patch)
tree059b183f4c8302dae0d8ceedc543d3d91904816a
parent62ed1f339ad3cd4ad40392012eb4bb33acad9185 (diff)
downloadperl-URPM-5bb8c2decfb00205492803ec6558e84d698babd0.tar
perl-URPM-5bb8c2decfb00205492803ec6558e84d698babd0.tar.gz
perl-URPM-5bb8c2decfb00205492803ec6558e84d698babd0.tar.bz2
perl-URPM-5bb8c2decfb00205492803ec6558e84d698babd0.tar.xz
perl-URPM-5bb8c2decfb00205492803ec6558e84d698babd0.zip
fix test failure with perl-5.26
-rw-r--r--NEWS2
-rw-r--r--t/01setter-getter.t4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index b4292d9..597abbf 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix test failure with perl-5.26
+
Version 5.12 - 10 November 2016
- fix more compilation warnings
diff --git a/t/01setter-getter.t b/t/01setter-getter.t
index d9a9795..6a316cd 100644
--- a/t/01setter-getter.t
+++ b/t/01setter-getter.t
@@ -19,8 +19,8 @@ ok($pkg, 'Package');
is($pkg->payload_format, 'cpio', 'payload');
is($pkg->rflags, undef, 'default rflags');
-is($pkg->set_rflags(1, 3), undef, 'storing rflags');
-is(join(',', $pkg->set_rflags(1, 4)), "1,3", 'storing rflags');
+is($pkg->set_rflags('1', '3'), undef, 'storing rflags');
+is(join(',', $pkg->set_rflags('1', '4')), "1,3", 'storing rflags');
is(join(',', $pkg->rflags), "1,4", 'retrieving stored rflags');
########################################