Skip to content

Commit

Permalink
tweaked descriptions for % and %% separator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed May 9, 2013
1 parent 9970b75 commit dc63e3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions S05-capture/caps.t
Expand Up @@ -55,12 +55,12 @@ is ca($0.chunks), '~:a|0:b|~:c', '.chunks on submatches';

# RT117831 separator captures
ok 'a;b,c,' ~~ m/(<.alpha>) +% (<.punct>)/, 'Regex matches';
is ca($/.caps), '0:a|1:;|0:b|1:,|0:c', '.caps on submatches';
is ca($/.chunks), '0:a|1:;|0:b|1:,|0:c', '.chunks on submatches';
is ca($/.caps), '0:a|1:;|0:b|1:,|0:c', '.caps on % separator';
is ca($/.chunks), '0:a|1:;|0:b|1:,|0:c', '.chunks on % separator';

ok 'a;b,c,' ~~ m/(<.alpha>) +%% (<.punct>)/, 'Regex matches';
is ca($/.caps), '0:a|1:;|0:b|1:,|0:c|1:,', '.caps on submatches';
is ca($/.chunks), '0:a|1:;|0:b|1:,|0:c|1:,', '.chunks on submatches';
is ca($/.caps), '0:a|1:;|0:b|1:,|0:c|1:,', '.caps on %% separator';
is ca($/.chunks), '0:a|1:;|0:b|1:,|0:c|1:,', '.chunks on %% separator';

done;

Expand Down

0 comments on commit dc63e3d

Please sign in to comment.