Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coke@hack ~/sandbox/perl6-roast-data/rakudo.jvm (git:nom) »ö« $ ./perl6-j -Ilib t/spec/S02-literals/adverbs.rakudo.jvm
- 1..32
- ok 1 - Basic boolean adverb works
- ok 2 - Negated boolean adverb works
- ok 3 - Adverb with value in parens works
- ok 4 - Adverb with angle quote value works
- ok 5 - ...and does the right thing with the value list
- ok 6 - Adverb with postfix:<[ ]> works
- ok 7 - :abcd works
- ok 8 - :@a works
- ok 9 - :%a works
- ok 10 - :&a works
- ok 11 - Basic numeric adverb works
- 1..2
- ok 1 - code dies
- ok 2 - right exception type (X::Comp::AdHoc)
- ok 12 - Numeric adverb can't have an extra value
- ok 13 - Adverb with postfix:<> makes code object
- ok 14 - Adverb with $= twigil works
- ok 15 - Adverb with $? twigil works
- ok 16 - Adverb with $* twigil works
- ok 17 - Adverb with @* twigil works
- ok 18 - Adverb with %* twigil works
- ok 19 - Adverb with $^ twigil works
- ok 20 - Adverb with @^ twigil works
- ok 21 - Adverb with %^ twigil works
- ok 22 - Adverb with $: twigil works
- ok 23 - Adverb with @: twigil works
- ok 24 - Adverb with %: twigil works
- ok 25 - Adverb with $< twigil works
- not ok 26 - Adverb with @< twigil works# TODO :@<...> and :%<...> broken needs RT
- # Failed test 'Adverb with @< twigil works'
- # at t/spec/S02-literals/adverbs.rakudo.jvm line 8
- # expected: "fie" => (Match.new(to => 2, hash => EnumMap.new(), ast => Any, list => ().list, orig => "aaaa", from => 1), Match.new(to => 3, hash => EnumMap.new(), ast => Any, list => ().list, orig => "aaaa", from => 2)).list.item
- # got: "fie" => Match.new(to => 3, hash => EnumMap.new("" => []), ast => Any, list => (Match.new(to => 2, hash => EnumMap.new(), ast => Any, list => ().list, orig => "aaaa", from => 1), Match.new(to => 3, hash => EnumMap.new(), ast => Any, list => ().list, orig => "aaaa", from => 2)).list, orig => "aaaa", from => 1)
- not ok 27 - Adverb with %< twigil works# TODO :@<...> and :%<...> broken needs RT
- # Failed test 'Adverb with %< twigil works'
- # at t/spec/S02-literals/adverbs.rakudo.jvm line 8
- # expected: "foe" => EnumMap.new("fum" => Match.new(to => 4, hash => EnumMap.new(), ast => Any, list => ().list, orig => "aaaa", from => 3))
- # got: "foe" => Match.new(to => 4, hash => EnumMap.new("fum" => Match.new(to => 4, hash => EnumMap.new(), ast => Any, list => ().list, orig => "aaaa", from => 3)), ast => Any, list => ().list, orig => "aaaa", from => 3)
- Type check failed in binding $expected; expected 'Any' but got 'Mu'
- in block at gen/jvm/CORE.setting:976
- in method BUILDALL at gen/jvm/CORE.setting:959
- in method bless at gen/jvm/CORE.setting:948
- in method new at gen/jvm/CORE.setting:934
- in block <unit> at t/spec/S02-literals/adverbs.rakudo.jvm:56
- # Looks like you planned 32 tests, but ran 27
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement