Skip to content

Instantly share code, notes, and snippets.

@dwarring
Created October 5, 2014 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwarring/e60d5e134dd980a9aab2 to your computer and use it in GitHub Desktop.
Save dwarring/e60d5e134dd980a9aab2 to your computer and use it in GitHub Desktop.
% icu-config --unicode-version
5.2
% PERL6LIB=t/spec/packages prove -e 't/fudgeandrun --backend=parrot' -v t/spec/S05-mass/charsets.t
t/spec/S05-mass/charsets.t ..
1..17
ok 1 - ident chars
ok 2 - alpha chars
ok 3 - space chars
ok 4 - digit chars
ok 5 - alnum chars
not ok 6 - blank chars# TODO blank characters
# Failed test 'blank chars'
# at t/spec/S05-mass/charsets.rakudo.parrot line 24
# expected: '9,32,160'
# got: '9,32'
ok 7 - cntrl chars
ok 8 - lower chars
not ok 9 - punct chars# TODO punct characters
# Failed test 'punct chars'
# at t/spec/S05-mass/charsets.rakudo.parrot line 35
# expected: '!"#%&'()*,-./:;?@[\]_{}¡§«¶·»¿'
# got: '!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ ¡¢£¤¥¦§¨©«¬­®¯°±²³´¶·¸¹»¼½¾¿×÷'
not ok 10 - :Punctuation chars
# Failed test ':Punctuation chars'
# at t/spec/S05-mass/charsets.rakudo.parrot line 37
# expected: '!"#%&'()*,-./:;?@[\]_{}�������'
# got: '!"#%&'()*,-./:;?@[\]_{}�����'
ok 11 - upper chars
ok 12 - xdigit chars
ok 13 - unicode Letter chars
ok 14 - combined builtin classes
ok 15 - combined unicode classes
ok 16 - combined unicode and builtins
ok 17 - Can match negated quantified character class
# FUDGED!
# Looks like you failed 1 tests of 17
Failed 1/17 subtests
Test Summary Report
-------------------
t/spec/S05-mass/charsets.t (Wstat: 0 Tests: 17 Failed: 1)
Failed test: 10
Files=1, Tests=17, 4 wallclock secs ( 0.04 usr 0.01 sys + 3.60 cusr 0.28 csys = 3.93 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment