Changeset 22557
- Timestamp:
- 10/09/08 20:06:19 (6 weeks ago)
- Files:
-
- 1 modified
-
t/spec/S05-transliteration/with-closure.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S05-transliteration/with-closure.t
r22556 r22557 45 45 46 46 my $orig = 'hello'; 47 #?rakudo todo 'Str.trans with regex+closure, RT #59730'48 47 is $orig.trans(/(l)/ => { $_[0].ord }), 'he108108o', 'capturing regex + closure with .ord on $_'; 49 48 is $orig, 'hello', 'original string unchanged';
