From c24974b82f4bb6f8c224a191da88ca66e3e92971 Mon Sep 17 00:00:00 2001 From: Jonathan Worthington Date: Mon, 6 Jul 2015 17:27:01 +0200 Subject: [PATCH] Correct test identified in RT #125003. It wrongly assumed that a Capture matched multiple times stringifies to the final match, whereas it's actually an array of all of them. --- S05-capture/dot.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/S05-capture/dot.t b/S05-capture/dot.t index 856a6cdca9..8286726d02 100644 --- a/S05-capture/dot.t +++ b/S05-capture/dot.t @@ -57,8 +57,7 @@ is(~$0[1], "d", 'Nested $3'); ok("bookkeeper" ~~ m/(((\w)$0)+)/, 'Backreference'); is(~$0, 'ookkee', 'Captured'); -#?rakudo todo 'really? :-) RT #125003' -is(~$0[0], 'ee', 'Captured'); +is(~$0[0], ~['oo', 'kk', 'ee'], 'Captured'); # L