Skip to content
This repository
Browse code

[t][TT #2094] A test for Parrot_PMC_defined_keyed on a ResizablePMCAr…

…ray that fails
  • Loading branch information...
commit e25401439a7e4379b7fa4f8cda2a856d1c14c30c 1 parent 0631c0f
Duke Leto authored April 14, 2011

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

  1. 9  t/src/extend_vtable.t
9  t/src/extend_vtable.t
@@ -167,6 +167,14 @@ CODE
167 167
 Done!
168 168
 OUTPUT
169 169
 
  170
+extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_defined_keyed");
  171
+    integer = Parrot_PMC_defined_keyed(interp, rpa, key_int);
  172
+    Parrot_printf(interp,"%d\n", integer);
  173
+CODE
  174
+0
  175
+Done!
  176
+OUTPUT
  177
+
170 178
 extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_find_method");
171 179
     type   = Parrot_PMC_typenum(interp, "Class");
172 180
     pmc    = Parrot_PMC_new(interp, type);
@@ -497,7 +505,6 @@ CODE
497 505
 Done!
498 506
 OUTPUT
499 507
 
500  
-
501 508
 extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_i_add_float" );
502 509
     Parrot_PMC_set_integer_native(interp, pmc, -42);
503 510
     number = 43.0;

0 notes on commit e254014

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