Skip to content

Commit dbe034b

Browse files
committed
new test file for type objects
1 parent e8cf51c commit dbe034b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

S12-class/type-object.t

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
use v6;
2+
use Test;
3+
4+
plan 5;
5+
6+
is Any.Str, '', 'Any.Str is empty string';
7+
is Any.Stringy, '', 'Any.Str is empty string';
8+
is Any.gist, 'Any()', 'Any.gist has those parens';
9+
10+
# maybe a bit too retrictive?
11+
is Any.perl, 'Any', 'Any.perl does not have parens';
12+
13+
is Any.^name, 'Any', '.^name'

0 commit comments

Comments
 (0)