Skip to content
This repository
Browse code

[t] Parrot_PMC_init_int

  • Loading branch information...
commit f2c946a63054556c1172ace00703a3a1f20d3441 1 parent d2b1bbe
Duke Leto authored May 27, 2011

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

  1. 8  t/src/extend_vtable.t
8  t/src/extend_vtable.t
@@ -158,6 +158,14 @@ CODE
158 158
 
159 159
 # actual tests start here
160 160
 
  161
+extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_init_int");
  162
+    Parrot_PMC_init_int(interp, fpa, 10);
  163
+    Parrot_printf(interp, "%d\n", Parrot_PMC_elements(interp, fpa));
  164
+CODE
  165
+10
  166
+Done!
  167
+OUTPUT
  168
+
161 169
 # TODO: Improve this test
162 170
 extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_init");
163 171
     Parrot_PMC_init(interp, pmc);

0 notes on commit f2c946a

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