Skip to content

Commit

Permalink
Use &is for better diagnostics in test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Nov 24, 2017
1 parent 51ed31c commit d0f8e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/nqp/081-radix.t
Expand Up @@ -16,7 +16,7 @@ sub test_radix_I($radix,$str,$pos,$flags,$value,$mult,$offset,$desc) {
my $result := nqp::radix_I($radix,$str,$pos,$flags,$bi_type);
is(str($result[0]), $value,"radix_I: $desc - correct converted value");
is(str($result[1]), $mult,"radix_I: $desc - correct radix ** (number of digits converted)");
ok($result[2] == $offset,"radix_I: $desc - correct offset");
is($result[2], $offset,"radix_I: $desc - correct offset");
}

sub test_radix_both(*@args) {
Expand Down

0 comments on commit d0f8e09

Please sign in to comment.