From 69b0bd0766d3c36397346c4d4697c98191c11736 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 30 Sep 2014 22:28:48 -0700 Subject: [PATCH] lvref.t: do-block err msg is no longer to-do MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The previous commit’s rearrangement of things fixed this, too. --- t/op/lvref.t | 2 -- 1 file changed, 2 deletions(-) diff --git a/t/op/lvref.t b/t/op/lvref.t index 6634f71..2cd863b 100644 --- a/t/op/lvref.t +++ b/t/op/lvref.t @@ -311,11 +311,9 @@ eval { \%::x = [] }; like $@, qr/^Assigned value is not a HASH reference at/, 'assigning non-hash ref to package hash ref'; -on; eval '(\do{}) = 42'; like $@, qr/^Can't modify reference to do block in list assignment at /, "Can't modify reference to do block in list assignment"; -off; eval '(\pos) = 42'; like $@, qr/^Can't modify reference to match position in list assignment at /, -- 1.8.3.1