Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More undef/undef() tests (failing)

  • Loading branch information...
commit 430e8215879479d212468770da821e7dba665f67 1 parent 9ccc9ac
@tsee authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  t/run/010_logical.t
View
3  t/run/010_logical.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-print "1..14\n";
+print "1..15\n";
print 2 == ( 1 && 2 ) ? "ok\n" : "not ok\n";
print 0 == ( 0 && 2 ) ? "ok\n" : "not ok\n";
@@ -10,6 +10,7 @@ print 2 == ( 0 || 2 ) ? "ok\n" : "not ok\n";
print 1 == ( 1 // 2 ) ? "ok\n" : "not ok\n";
print 0 == ( 0 // 2 ) ? "ok\n" : "not ok\n";
print 2 == ( undef // 2 ) ? "ok\n" : "not ok\n";
+print 3 == ( undef() // 3 ) ? "ok\n" : "not ok\n";
$a = 1;
$a &&= 2;
Please sign in to comment.
Something went wrong with that request. Please try again.