Skip to content

Commit

Permalink
Use simpler code for correct .length suggestions test (#4703)
Browse files Browse the repository at this point in the history
The existing code causes tons of `WARNING: unhandled Failure detected in
DESTROY`.
  • Loading branch information
MasterDuke17 committed Jan 6, 2022
1 parent 3aa23bf commit 9310799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/05-messages/01-errors.t
Expand Up @@ -193,7 +193,7 @@ subtest 'non-ASCII digits > 7 in leading-zero-octal warning' => {
throws-like '[].length ', Exception, '.length on List',
:message{ .contains: 'elems' & none <chars codes graphs> };
throws-like 'class {}.length', Exception, '.length on non-Cool',
throws-like 'bag(1).length ', Exception, '.length on non-Cool',
:message{ .contains: <elems chars codes>.all & none 'graphs' };
throws-like 'length 42 ', Exception, '&length',
Expand Down

0 comments on commit 9310799

Please sign in to comment.