Skip to content

Commit

Permalink
[t][TT #2094] A test for Parrot_PMC_defined_keyed on a ResizablePMCAr…
Browse files Browse the repository at this point in the history
…ray that fails
  • Loading branch information
leto committed Apr 14, 2011
1 parent 0631c0f commit e254014
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion t/src/extend_vtable.t
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ CODE
Done!
OUTPUT

extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_defined_keyed");
integer = Parrot_PMC_defined_keyed(interp, rpa, key_int);
Parrot_printf(interp,"%d\n", integer);
CODE
0
Done!
OUTPUT

extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_find_method");
type = Parrot_PMC_typenum(interp, "Class");
pmc = Parrot_PMC_new(interp, type);
Expand Down Expand Up @@ -497,7 +505,6 @@ CODE
Done!
OUTPUT


extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_i_add_float" );
Parrot_PMC_set_integer_native(interp, pmc, -42);
number = 43.0;
Expand Down

0 comments on commit e254014

Please sign in to comment.