Skip to content
This repository
Browse code

[t] Parrot_PMC_morph

  • Loading branch information...
commit e8495b86f1c5aec8b050104fdd43f12f96174349 1 parent bc4be52
Duke Leto authored May 27, 2011

Showing 1 changed file with 10 additions and 0 deletions. Show diff stats Hide diff stats

  1. 10  t/src/extend_vtable.t
10  t/src/extend_vtable.t
@@ -158,6 +158,16 @@ CODE
158 158
 
159 159
 # actual tests start here
160 160
 
  161
+# TODO: Should it really return 'default' here?
  162
+extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_morph");
  163
+    Parrot_PMC_morph(interp, fpa, pmc);
  164
+    string = Parrot_PMC_name(interp, fpa);
  165
+    Parrot_printf(interp, "%S\n", string);
  166
+CODE
  167
+default
  168
+Done!
  169
+OUTPUT
  170
+
161 171
 extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_init_int");
162 172
     Parrot_PMC_init_int(interp, fpa, 10);
163 173
     Parrot_printf(interp, "%d\n", Parrot_PMC_elements(interp, fpa));

0 notes on commit e8495b8

Please sign in to comment.
Something went wrong with that request. Please try again.