aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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');
########################################