Started to add tests for the tools.
This commit is contained in:
parent
33f75aefae
commit
e34df613ca
23 changed files with 661 additions and 0 deletions
232
golden-files/input/perl6.p6
Normal file
232
golden-files/input/perl6.p6
Normal file
|
|
@ -0,0 +1,232 @@
|
|||
#!/usr/bin/env perl6
|
||||
|
||||
use v6;
|
||||
|
||||
my $string = 'I look like a # comment!';
|
||||
|
||||
if $string eq 'foo' {
|
||||
say 'hello';
|
||||
}
|
||||
|
||||
regex http-verb {
|
||||
'GET'
|
||||
| 'POST'
|
||||
| 'PUT'
|
||||
| 'DELETE'
|
||||
| 'TRACE'
|
||||
| 'OPTIONS'
|
||||
| 'HEAD'
|
||||
}
|
||||
|
||||
# a sample comment
|
||||
|
||||
say 'Hello from Perl 6!'
|
||||
|
||||
|
||||
#`{ | ||||