From: Karen Etheridge Date: Tue, 20 Feb 2018 20:12:20 +0000 (-0800) Subject: also skip tests on 5.18 to avoid errant test failures X-Git-Tag: v0.24~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FSub-Name.git;a=commitdiff_plain;h=652bff5160df5e2f1a74528f5eb0f90d9b8027d5 also skip tests on 5.18 to avoid errant test failures It (sometimes) dumps core with: Attempt to free nonexistent shared string ''. --- diff --git a/t/lexical.t b/t/lexical.t index 97a3263..15ebfd6 100644 --- a/t/lexical.t +++ b/t/lexical.t @@ -8,6 +8,12 @@ BEGIN { } } +BEGIN { + if ("$]" < 5.020) { + plan 'skip_all' => 'lexical subs unreliable on this perl'; + } +} + use feature 'lexical_subs'; no warnings 'experimental::lexical_subs';