You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
it doesn't actually count all of the tests. currently looks for qr/^\s_(is|is_deeply|like|ok|pass)\s_(/i;, but it doesn't include fail(), and is not really that conclusive of a match
also, this is currently done by opening each .pl in %INC and reading line by line.. should convert this to reading the files in memory (we've already required them anyway). using *.pl to match about_.pl and road_to_illumination.pl, should tighten that up
The text was updated successfully, but these errors were encountered:
ht to markwhi on this gist, but adding B::Deparse is not the solution for Perl::Koans. the second half of that issue was already resolved in the fix for issue #1
regarding the first problem, it leads to weirdness like this:
$ perl about_exceptions.pl
ok 1 - empty strings are returned for failed operations
ok 2 - $! is populated with the error message for failed operations
not ok 3 - empty strings are returned for failed operations
Failed test 'empty strings are returned for failed operations'
$ perl about_exceptions.pl
ok 1 - empty strings are returned for failed operations
ok 2 - $! is populated with the error message for failed operations
ok 3 - empty strings are returned for failed operations
not ok 4 - eval returns undef if fatal error hit
Failed test 'eval returns undef if fatal error hit'
two problems:
The text was updated successfully, but these errors were encountered: