On Sun, Oct 1, 2017 at 17:23 Zoffix Znet via RT <perl6-bugs-follo...@perl.org> wrote: > On Sun, 01 Oct 2017 10:10:55 -0700, tbrowder wrote: ... > My vote on this feature is a most definite -1. I see no reason to > over-engineer a core module to support some fringe usecase. > The tests routines return the test status, so you can write that particular > usecase as: > > ok check-name($meta, :$relaxed-name), "name has a hyphen rather than '::'" > or diag "\nTo use hyphen in name, pass :relaxed-name to meta-ok\n"; > > Which comes out as: > > not ok 1 - name has a hyphen rather than '::' > # Failed test 'name has a hyphen rather than '::'' > # at /tmp/z.p6 line 4 > # > # To use hyphen in name, pass :relaxed-name to meta-ok > #
Perfect! I knew you would show the way—just need to show that kind of example in the docs...