diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-05-18 17:54:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-05-18 20:13:57 -0700 |
commit | 482e4418cbff3a580fd0c63dd1918d375a086700 (patch) | |
tree | 75c534941d5711220cc1a9e4b0d79a0ada571def | |
parent | fef6692e28d019582497b48b58e1773d181d6ac7 (diff) | |
download | perl-482e4418cbff3a580fd0c63dd1918d375a086700.tar.gz |
lexsub.t: Remove some unnecessary evals
These evals were originally of the form eval {...} when I added
the tests, before things were working. When I got them working,
I left few evals by mistake, while removing the braces. Luckily,
eval 44 produces the same thing as 44.
-rw-r--r-- | t/op/lexsub.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/op/lexsub.t b/t/op/lexsub.t index adccf4c5db..de4c074178 100644 --- a/t/op/lexsub.t +++ b/t/op/lexsub.t @@ -126,11 +126,11 @@ use feature 'state'; # state { state sub foo { 44 } isnt \&::foo, \&foo, 'state sub is not stored in the package'; - is eval foo, 44, 'calling state sub from same package'; - is eval &foo, 44, 'calling state sub from same package (amper)'; + is foo, 44, 'calling state sub from same package'; + is &foo, 44, 'calling state sub from same package (amper)'; package bar; - is eval foo, 44, 'calling state sub from another package'; - is eval &foo, 44, 'calling state sub from another package (amper)'; + is foo, 44, 'calling state sub from another package'; + is &foo, 44, 'calling state sub from another package (amper)'; } package bar; is foo, 43, 'state sub falling out of scope'; |