Advertisement
Guest User

Untitled

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