The files are PRECIS.pm6 and 100-precis.t in the attachment
The Map definitions is at 13 and subset on line 20 of file PRECIS.pm6. Use is at method exceptions at line 172 in the same file.
The error is generated on line 85 in 100-precis.t

> prove -e perl6 -v t/100-precis.t
t/100-precis.t ..
    ok 1 - À (0x0000c0) in Lu set
    ok 2 - é (0x0000e9) in Ll set
    ok 3 - 0x0064 in Ascii7 set
    ok 4 -
    1..4
ok 1 - Test tables
    ok 1 - exceptions check for PVALID
    ok 2 - properties check for PVALID
    ok 3 - exceptions check for CONTEXTO
    ok 4 - properties check for CONTEXTO
    1..4
ok 2 - Test exceptions
    ok 1 - 0x0005dd in letter-digits set
    ok 2 - 0x0005c6 not in letter-digits set
    ok 3 - 0x000660 is a CONTEXTO exception
Type check failed for return value; expected Unicode::PRECIS::PropValue but got Str ("PVALID") in method exceptions at /home/marcel/Languages/Perl6/Projects/unicode-precis/lib/Unicode/PRECIS.pm6 (Unicode::PRECIS) line 175
  in block <unit> at t/100-precis.t line 85

Dubious, test returned 1 (wstat 256, 0x100)
All 2 subtests passed

Test Summary Report
-------------------
t/100-precis.t (Wstat: 256 Tests: 2 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=1, Tests=2, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.08 cusr 0.09 csys = 1.20 CPU)
Result: FAIL



Attachment: PRECIS.pm6
Description: application/pagemaker

Attachment: 100-precis.t
Description: Perl program

Reply via email to