Skip to content

Commit

Permalink
fix up tests for expected or-vs-xor precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed Feb 18, 2024
1 parent 36ce6ed commit 368d882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/op/lop.t
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ for my $test (

# precedence
is((1 xor 1 and 0), 1, '(1 xor 1 and 0) == 1');
is((1 xor 0 or 1), '', "(1 xor 0 or 1) == ''");
is((1 xor 0 or 1), 1, "(1 xor 0 or 1) == 1");
is((1 ^^ 1 && 0), 1, '(1 xor 1 and 0) == 1');
is((1 ^^ 0 || 1), '', "(1 ^^ 0 || 1) == ''");
is((1 ^^ 0 || 1), 1, "(1 ^^ 0 || 1) == 1");

0 comments on commit 368d882

Please sign in to comment.