Skip to content

Commit 06e8f69

Browse files
authored
Specify signature of cmp-ok more accurately
- To indicate it can be used to test with `=:=` operator - And that it doesn't interfere with ops that partly rely on address equivalency, such as `eqv` Rakudo impl: rakudo/rakudo@3684384db1 Spec: Raku/roast@4bc442622d
1 parent 12ec0ca commit 06e8f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/testing.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ L«C<cmp-ok $got, 'eqv', $expected, $desc>|/language/testing#index-entry-cmp-ok-
446446
447447
=head2 By arbitrary comparison
448448
449-
=item X<cmp-ok($value, $comparison, $expected, $description?)|cmp-ok>
449+
=item X<cmp-ok(Mu $value is raw, $comparison, Mu $expected is raw, $description?)|cmp-ok>
450450
451451
Compares C<$value> and C<$expected> with the given C<$comparison> comparator and
452452
passes the test if the comparison yields a C<True> value. The C<$description>

0 commit comments

Comments
 (0)