Permalink
Browse files

=== does not autothread (RT #61692)

  • Loading branch information...
1 parent 7228246 commit 8e96ed19b8f7d5014a4af0557ad5a77a0cae9d91 @moritz moritz committed Sep 30, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 S03-operators/value_equivalence.t
@@ -14,7 +14,7 @@ false, and C<[1,2] eqv [1,2]> returns true.
# L<S03/"Chaining binary precedence" /Value identity>
-plan 75;
+plan 77;
# === on values
{
@@ -183,6 +183,9 @@ plan 75;
ok (1 !=== "1"), '!=== on values (1 !=== "1")';
}
+nok 1|2 === 1, '=== does not autothread (1)';
+isa_ok 1|2 === 1, Bool, '=== does not autothread (2)';
+
done;
# vim: ft=perl6

0 comments on commit 8e96ed1

Please sign in to comment.