From: Jesse Luehrs Date: Mon, 8 Aug 2011 14:59:26 +0000 (-0500) Subject: and VSTRING was only 5.10+ X-Git-Tag: 0.23~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=13ac0d6f13103f8d2dd2ae46f86be2e623203814;p=gitmo%2FPackage-Stash-XS.git and VSTRING was only 5.10+ --- 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");