Skip to content

Commit

Permalink
[t] Parrot_PMC_delete_keyed_str
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Apr 23, 2011
1 parent 6d018dd commit f0346a2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion t/src/extend_vtable.t
Expand Up @@ -10,7 +10,7 @@ use File::Spec::Functions;

plan skip_all => 'src/parrot_config.o does not exist' unless -e catfile(qw/src parrot_config.o/);

plan tests => 102;
plan tests => 103;

=head1 NAME
Expand Down Expand Up @@ -371,6 +371,14 @@ CODE
Done!
OUTPUT

# TODO: Improve this test
extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_delete_keyed_str");
string = createstring(interp,"foo");
Parrot_PMC_delete_keyed_str(interp, hash, string);
CODE
Done!
OUTPUT

extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_defined_keyed_str");
integer = Parrot_PMC_defined_keyed_str(interp, hash, string);
Parrot_printf(interp,"%d\n", integer);
Expand Down

1 comment on commit f0346a2

@cotto
Copy link
Contributor

@cotto cotto commented on f0346a2 Apr 24, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on what the TODO says

Please sign in to comment.