Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (15 sloc) 0.476 kB
fb96612 [t] move null.t to spec/
moritz authored
1 use v6;
2
3 use Test;
4
5 =begin pod
6
7 This file was derived from the perl5 CPAN module Perl6::Rules,
8 version 0.3 (12 Apr 2004), file t/null.t.
9
10 It has (hopefully) been, and should continue to be, updated to
11 be valid perl6.
12
13 =end pod
14
15 plan 4;
16
17 # L<S05/Nothing is illegal/To match the zero-width string, use>
18
19 ok("" ~~ m/<?>/, 'Simple null as <?>');
20 ok("" ~~ m/''/, "Simple null as ''");
21 ok("a" ~~ m/<?>/, 'Simple null A');
22
23 ok("ab" ~~ m{a<?>b}, 'Compound null AB');
7f29bc5 [t/spec] Add vim: lines everywhere.
kyle authored
24
25 # vim: ft=perl6
Something went wrong with that request. Please try again.