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-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2534bc29a47ecd08afc22a89f20301233b709c86;p=p5sagit%2FSub-Name.git 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';