Skip to content

Commit 482e441

Browse files
author
Father Chrysostomos
committed
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.
1 parent fef6692 commit 482e441

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/op/lexsub.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ use feature 'state'; # state
126126
{
127127
state sub foo { 44 }
128128
isnt \&::foo, \&foo, 'state sub is not stored in the package';
129-
is eval foo, 44, 'calling state sub from same package';
130-
is eval &foo, 44, 'calling state sub from same package (amper)';
129+
is foo, 44, 'calling state sub from same package';
130+
is &foo, 44, 'calling state sub from same package (amper)';
131131
package bar;
132-
is eval foo, 44, 'calling state sub from another package';
133-
is eval &foo, 44, 'calling state sub from another package (amper)';
132+
is foo, 44, 'calling state sub from another package';
133+
is &foo, 44, 'calling state sub from another package (amper)';
134134
}
135135
package bar;
136136
is foo, 43, 'state sub falling out of scope';

0 commit comments

Comments
 (0)