diff --git a/t/05-messages/01-errors.t b/t/05-messages/01-errors.t index 168bb2d1a10..2e3e50cf2f0 100644 --- a/t/05-messages/01-errors.t +++ b/t/05-messages/01-errors.t @@ -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 }; - throws-like 'class {}.length', Exception, '.length on non-Cool', + throws-like 'bag(1).length ', Exception, '.length on non-Cool', :message{ .contains: .all & none 'graphs' }; throws-like 'length 42 ', Exception, '&length',