summaryrefslogtreecommitdiff
path: root/t/lib/mypragma.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/mypragma.t')
-rw-r--r--t/lib/mypragma.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/lib/mypragma.t b/t/lib/mypragma.t
index bd44cad9eb..48e9865384 100644
--- a/t/lib/mypragma.t
+++ b/t/lib/mypragma.t
@@ -22,8 +22,8 @@ is(mypragma::in_effect(), undef, "pragma not in effect yet");
or die $@;
use mypragma;
- is(mypragma::in_effect(), 1, "pragma is in effect within this block");
- eval qq{is(mypragma::in_effect(), 1,
+ is(mypragma::in_effect(), 42, "pragma is in effect within this block");
+ eval qq{is(mypragma::in_effect(), 42,
"pragma is in effect within this eval"); 1} or die $@;
{
@@ -33,8 +33,8 @@ is(mypragma::in_effect(), undef, "pragma not in effect yet");
or die $@;
}
- is(mypragma::in_effect(), 1, "pragma is in effect within this block");
- eval qq{is(mypragma::in_effect(), 1,
+ is(mypragma::in_effect(), 42, "pragma is in effect within this block");
+ eval qq{is(mypragma::in_effect(), 42,
"pragma is in effect within this eval"); 1} or die $@;
}
is(mypragma::in_effect(), undef, "pragma no longer in effect");