1. Toby Inkster
  2. p5-scalar-does

Commits

Toby Inkster  committed 0414ea9

test passing in 5.8

  • Participants
  • Parent commits 4d93267
  • Branches default

Comments (0)

Files changed (1)

File t/06constants.t

View file
 ok does(\(\"Hello"), REF);
 ok does(\(substr($var,0,1)), LVALUE);
 ok does(\*STDOUT, IO);
-ok does(\v1.2.3, VSTRING);
 ok does(qr{x}, REGEXP);
 ok does(1, BOOLEAN);
 ok does(1, STRING);
 ok does(1, NUMBER);
 ok does(1, SMARTMATCH);
 
+if ($] >= 5.012)
+{
+	ok does(\v1.2.3, VSTRING);
+}
+else
+{
+	pass( "VSTRING test skipped on older Perls" );
+}
+
 done_testing;