repo.or.cz
/
pugs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[t/spec] Add tricky tests (which pass after latest Rakudo patch), unfudge old simple...
[pugs.git]
/
t
/
01-sanity
/
02-counter.t
blob
4ae9a22a3da862d82c08cd4763ea1927f7713345
1
# L<S02/"Whitespace and Comments"/space before it, but may be written in any>
2
use v6;
3
4
# Checking that testing is sane: counted tests
5
6
7
say '1..4';
8
9
my $counter = 1;
10
say "ok $counter";
11
12
$counter++;
13
say "ok $counter";
14
15
++$counter;
16
say 'ok ', $counter;
17
18
++$counter;
19
say 'ok ' ~ $counter;