Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[t] Parrot_PMC_morph

  • Loading branch information...
commit e8495b86f1c5aec8b050104fdd43f12f96174349 1 parent bc4be52
@leto leto authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 t/src/extend_vtable.t
View
10 t/src/extend_vtable.t
@@ -158,6 +158,16 @@ CODE
# actual tests start here
+# TODO: Should it really return 'default' here?
+extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_morph");
+ Parrot_PMC_morph(interp, fpa, pmc);
+ string = Parrot_PMC_name(interp, fpa);
+ Parrot_printf(interp, "%S\n", string);
+CODE
+default
+Done!
+OUTPUT
+
extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_init_int");
Parrot_PMC_init_int(interp, fpa, 10);
Parrot_printf(interp, "%d\n", Parrot_PMC_elements(interp, fpa));
Please sign in to comment.
Something went wrong with that request. Please try again.