Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (21 sloc) 0.586 kb
58135b3 [t/spec] changed 'use v6-alpha;' to 'use v6;'
moritz authored
1 use v6;
8d850ed [t] Test suite refactoring.
cosimo authored
2 use Test;
3
4 # L<S29/"Type Declarations">
5
2704bb9 [t/spec] Convert pod markers to pod6
cosimo authored
6 =begin pod
8d850ed [t] Test suite refactoring.
cosimo authored
7
8 Test for some type declarations for built-in functions.
9
2704bb9 [t/spec] Convert pod markers to pod6
cosimo authored
10 =end pod
8d850ed [t] Test suite refactoring.
cosimo authored
11
12 plan 9;
13
14 # Maybe this test should be modified to run with rakudo
15
16 my sub ok_eval1($code) {
5bab36f @FROGGS eval => EVAL in S14 to S32
FROGGS authored
17 &Test::ok.nextwith(EVAL($code),$code)
8d850ed [t] Test suite refactoring.
cosimo authored
18 }
19
20 ok_eval1('AnyChar.isa(Str)');
21 ok_eval1('Char.isa(Str)');
22 ok_eval1('Codepoint =:= Uni');
23 ok_eval1('CharLingua.isa(AnyChar)');
24 ok_eval1('Grapheme.isa(AnyChar)');
25 ok_eval1('Codepoint.isa(AnyChar)');
26 ok_eval1('Byte.isa(AnyChar)');
27 ok_eval1('Byte.isa(Num)');
ffa7511 [t/spec/] "Junction" -> "junction", ".eigenstates" -> "!eigenstates" (as...
Kodi authored
28 ok_eval1('subset MatchTest of Item | junction;');
7f29bc5 [t/spec] Add vim: lines everywhere.
kyle authored
29
30 # vim: ft=perl6
Something went wrong with that request. Please try again.