Created
February 19, 2020 16:19
-
-
Save Whateverable/3315a81b3d3c0c7f1f45d78e3cddc1cb to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chdir ‘sandbox/roast’; %*ENV<MVM_SPESH_BLOCKING> = 1; %*ENV<MVM_SPESH_NODELAY> = 1; run <perl6 S05-grammar/parse_and_parsefile-6e.t>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
1..24 | |
ok 1 - grammar is created using 6.e version of Grammar class | |
ok 2 - .parse method invokes TOP rule, no match | |
ok 3 - .parse method invokes TOP rule, match | |
ok 4 - .parse method requires match to end | |
ok 5 - .subparse method doesn't require match to end | |
ok 6 - dies if no TOP rule | |
ok 7 - .parsefile method invokes TOP rule, no match | |
ok 8 - .parsefile method invokes TOP rule, match | |
ok 9 - dies if no TOP rule | |
ok 10 - dies if file not found | |
ok 11 - .parse works with namespaced grammars, no match | |
ok 12 - .parse works with namespaced grammars, match | |
1..2 | |
ok 1 - '::No::Such::Grammar.parse()' died | |
ok 2 - right exception type (Exception) | |
ok 13 - .parse on missing grammar dies | |
ok 14 - can .parse grammar named "Integer" | |
Unexpected named argument 'cache' passed | |
in block <unit> at S05-grammar/parse_and_parsefile-6e.t line 65 | |
# You planned 24 tests, but ran 14 | |
The spawned command 'perl6' exited unsuccessfully (exit code: 255, signal: 0) | |
in block <unit> at /tmp/2JZeUn8Bbe line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment