Skip to content

Commit fe656e4

Browse files
committed
fix expected return type:
20:51 < TimToady> given that it's trying to return one or the other, I think Nil makes sense
1 parent 6600ef0 commit fe656e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

S03-operators/short-circuit.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ sub accumtest($expect, $op) {
160160
#?niecza 10 skip "^^ xor NYI"
161161
is(0 ^^ 42, 42, "^^ operator working (one true)");
162162
is(42 ^^ 0, 42, "^^ operator working (one true)");
163-
#?rakudo todo 'wrong return type'
164-
is(1 ^^ 42, False, "^^ operator working (both true)");
163+
is(1 ^^ 42, Nil, "^^ operator working (both true)");
165164
is(0 ^^ 0, 0, "^^ operator working (both false)");
166165
is((0 xor 42), 42, "xor operator working (one true)");
167166
is((42 xor 0), 42, "xor operator working (one true)");

0 commit comments

Comments
 (0)