From bb50a0ee52303b10db5fa629592f6bf2dab7b1cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Mon, 13 Nov 2023 16:25:27 +0100 Subject: [PATCH] t: Require Storable >= 3.06 for t/proxy-with-stack-trace.t Otherwise we'll get Can't store REGEXP items Fixes #102 --- t/proxy-with-stack-trace.t | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/proxy-with-stack-trace.t b/t/proxy-with-stack-trace.t index 4d49b63..b20b80f 100644 --- a/t/proxy-with-stack-trace.t +++ b/t/proxy-with-stack-trace.t @@ -44,6 +44,14 @@ BEGIN { plan skip_all => 'Devel::StackTrace >= 2.00 is required for this test'; $num_tests = 0; } + eval { + require Storable; + Storable->VERSION( 3.06 ); + }; + if ( $@ ) { + plan skip_all => 'Storable >= 3.06 is required for this test'; + $num_tests = 0; + } } plan tests => $num_tests if $num_tests;