diff --git a/S03-operators/repeat.t b/S03-operators/repeat.t index 245eb94e9d..08f3da6d27 100644 --- a/S03-operators/repeat.t +++ b/S03-operators/repeat.t @@ -8,7 +8,7 @@ Repeat operators for strings and lists =end description -plan 54; +plan 56; #L @@ -177,4 +177,12 @@ is ((2, 4, 6).Seq xx *)[^2], ((2, 4, 6), (2, 4, 6)), is-deeply 'a' x Int, '', 'type objects get interpreted as 0 iterations'; } +# RT #130288 +{ + throws-like 「rand xx '123aaa'」, X::Str::Numeric, + 'Failures in RHS of xx explode (callable LHS)'; + throws-like 「42 xx '123aaa'」, X::Str::Numeric, + 'Failures in RHS of xx explode (Int LHS)'; +} + # vim: ft=perl6