Skip to content

Commit 2719b53

Browse files
authored
Clarify is-deeply bug-by-design affects only Seq:D
For Seq type objects it used to crash, but now fixed[^1] and tested[2], to pass them through non-buggy path in is-deeply. [1] rakudo/rakudo@f3f99b3ac4 [2] Raku/roast@3ea879737b
1 parent 8456269 commit 2719b53

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
@@ -416,7 +416,7 @@ is-deeply count-chars('fleece'), %expected, 'count-chars works on "fleece"';
416416
=end code
417417
418418
B<Note:> for L<historical
419-
reasons|https://github.com/rakudo/rakudo/commit/096bc17cd5>, L<Seq> arguments
419+
reasons|https://github.com/rakudo/rakudo/commit/096bc17cd5>, L<Seq:D|/type/Seq> arguments
420420
to C<is-deeply> get converted to L<Lists|/type/List>. If you want to ensure
421421
strict C<Seq> comparisons, use
422422
L«C<cmp-ok $got, 'eqv', $expected, $desc>|/language/testing#index-entry-cmp-ok-cmp-ok%28%24value%2C_%24comparison%2C_%24expected%2C_%24description%3F%29> instead.

0 commit comments

Comments
 (0)