|parrotcode: Basic P6 Regex tests|
|Contents | Tests|
t/compilers/pge/p6regex/01-regex.t -- Basic P6 Regex tests
These tests are based on http://dev.perl.org/perl6/doc/design/syn/S05.html.
Individual tests are stored in the
rx_* files in the same directory; There is one test per line: each test consists of the following columns (separated by one *or more* tabs):
yfor a successful match,
nfor a failed one. Otherwise the output is expected to begin and end with
% prove t/compilers/pge/01-regex.t
Note that while our job would be easier if we could use regular expressions in here, but we want to avoid any dependency on the thing we're testing.
Need to add in test ids, to avoid the precarious line numbering.