Permalink
Browse files

[TT #2026] Hopefully fix intermittently failing test, which assumed p…

…ositive hashvalues
  • Loading branch information...
leto committed Feb 21, 2011
1 parent 843d7c6 commit 6786a80460db5ee1d86a9510d6864a2f25a35160
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/src/extend_vtable.t
View
@@ -166,7 +166,7 @@ extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_hashvalue");
Parrot_PMC_set_integer_native(interp, pmc, 42);
integer = Parrot_PMC_hashvalue(interp, pmc);
- if (integer > 0)
+ if (integer != 0)
Parrot_printf(interp,"Got hash!\n", integer);
CODE
Got hash!

0 comments on commit 6786a80

Please sign in to comment.