From 368d8826251989524e32f1323f9eb87b836d1e93 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Thu, 15 Feb 2024 21:22:32 +0000 Subject: [PATCH] fix up tests for expected or-vs-xor precedence --- t/op/lop.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/op/lop.t b/t/op/lop.t index 08d6eb694e4ed..47c882f5cc3fd 100644 --- a/t/op/lop.t +++ b/t/op/lop.t @@ -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");