summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/scalar-values.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/scalar-values.t b/t/scalar-values.t
index 849d7c1..b2daebe 100644
--- a/t/scalar-values.t
+++ b/t/scalar-values.t
@@ -46,7 +46,7 @@ is(exception { $Bar->add_symbol('$pvlv', \substr($pvlv, 0, 1)) }, undef,
"can add PVLV values");
my $vstring = v1.2.3;
-is(reftype(\$vstring), 'VSTRING');
+is(reftype(\$vstring), ($] < 5.010 ? 'SCALAR' : 'VSTRING'));
is(exception { $Bar->add_symbol('$vstring', \$vstring) }, undef,
"can add vstring values");