Skip to content

Instantly share code, notes, and snippets.

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 leto/248129 to your computer and use it in GitHub Desktop.
Save leto/248129 to your computer and use it in GitHub Desktop.
(kadath)(~/git/rakudo master )$ make t/spec/S12-class/basic.t
ok 1 - Classname.perl produces the class name
ok 2 - ... smartmatch our $foo to the Foo class
ok 3 - .isa(Foo)
ok 4 - .isa(::Foo)
ok 5 - .isa("Foo")
ok 6 - !.isa("Bar")
ok 7 - ... smartmatch our $foo_clone to the Foo class
ok 8 - proto-objects are undefined
ok 9 - proto-objects are undefined
ok 10 - instances of the object are defined
ok 11 - ... smartmatch our $foo_bar to the Foo::Bar class
ok 12 - .isa(Foo::Bar)
ok 13 - !Foo::Bar.new.isa(::Foo)
ok 14 - ... smartmatch our Bar to the Foo class
ok 15 - ... smartmatch our $bar to the Bar class
ok 16 - ... .isa(Bar)
ok 17 - ... smartmatch our $bar to the Foo class
ok 18 - new Bar .isa(Foo)
ok 19 - ... smartmatch our $bar_clone to the Bar class
ok 20 - ... .isa(Bar)
ok 21 - ... smartmatch our $bar_clone to the Foo class
ok 22 - ... .isa(Foo)
ok 23 - # SKIP not parsing is inside class yet
ok 24 - # SKIP not parsing is inside class yet
ok 25 - # SKIP not parsing is inside class yet
ok 26 - type distinguishing is not done by case of first letter
ok 27 - die on non-existing class names
ok 28 - created One::Two after One::Two::Three
ok 29 - cannot redeclare an existing class
ok 30 - RT 62898
not ok 31 - can't just use eval to add method to class
ok 32 - # SKIP RT #67784
ok 33 - call to missing method in A::B dies after class A::C defined
Failed 1/33 subtests
(less 4 skipped subtests: 28 okay)
Test Summary Report
-------------------
t/spec/S12-class/basic.rakudo (Wstat: 0 Tests: 33 Failed: 1)
Failed test: 31
Files=1, Tests=33, 14 wallclock secs ( 0.04 usr 0.01 sys + 1.92 cusr 0.21 csys = 2.18 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment