Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix expected return type:
20:51 < TimToady> given that it's trying to return one or the other, I
think Nil makes sense
  • Loading branch information
coke committed Jul 25, 2014
1 parent 6600ef0 commit fe656e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S03-operators/short-circuit.t
Expand Up @@ -160,8 +160,7 @@ sub accumtest($expect, $op) {
#?niecza 10 skip "^^ xor NYI"
is(0 ^^ 42, 42, "^^ operator working (one true)");
is(42 ^^ 0, 42, "^^ operator working (one true)");
#?rakudo todo 'wrong return type'
is(1 ^^ 42, False, "^^ operator working (both true)");
is(1 ^^ 42, Nil, "^^ operator working (both true)");
is(0 ^^ 0, 0, "^^ operator working (both false)");
is((0 xor 42), 42, "xor operator working (one true)");
is((42 xor 0), 42, "xor operator working (one true)");
Expand Down

0 comments on commit fe656e4

Please sign in to comment.