Browse files

Add failing test for cmp_pmc

  • Loading branch information...
1 parent b96f999 commit 34a41623e80182c4fe8b1072d8b2cb5e2ee91d6a @leto leto committed Mar 11, 2011
Showing with 23 additions and 23 deletions.
  1. +23 −23 t/src/extend_vtable.t
View
46 t/src/extend_vtable.t
@@ -1095,29 +1095,29 @@ Done!
OUTPUT
-#extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_cmp_pmc" );
-# Parrot_PMC_set_integer_native(interp, pmc, 42);
-# Parrot_PMC_set_integer_native(interp, pmc2, 17);
-#
-# pmc3 = Parrot_PMC_cmp_pmc(interp, pmc, pmc2);
-# Parrot_printf(interp,"%P\n", pmc3 );
-#
-# Parrot_PMC_set_integer_native(interp, pmc, 17);
-# Parrot_PMC_set_integer_native(interp, pmc2, 42);
-#
-# pmc3 = Parrot_PMC_cmp_pmc(interp, pmc, pmc2);
-# Parrot_printf(interp,"%P\n", pmc3 );
-#
-# Parrot_PMC_set_integer_native(interp, pmc, 42);
-#
-# pmc3 = Parrot_PMC_cmp_pmc(interp, pmc, pmc2);
-# Parrot_printf(interp,"%P\n", pmc3 );
-#CODE
-#1
-#-1
-#0
-#Done!
-#OUTPUT
+extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_cmp_pmc" );
+ Parrot_PMC_set_integer_native(interp, pmc, 42);
+ Parrot_PMC_set_integer_native(interp, pmc2, 17);
+
+ pmc3 = Parrot_PMC_cmp_pmc(interp, pmc, pmc2);
+ Parrot_printf(interp,"%P\n", pmc3 );
+
+ Parrot_PMC_set_integer_native(interp, pmc, 17);
+ Parrot_PMC_set_integer_native(interp, pmc2, 42);
+
+ pmc3 = Parrot_PMC_cmp_pmc(interp, pmc, pmc2);
+ Parrot_printf(interp,"%P\n", pmc3 );
+
+ Parrot_PMC_set_integer_native(interp, pmc, 42);
+
+ pmc3 = Parrot_PMC_cmp_pmc(interp, pmc, pmc2);
+ Parrot_printf(interp,"%P\n", pmc3 );
+CODE
+1
+-1
+0
+Done!
+OUTPUT
extend_vtable_output_is(<<'CODE', <<'OUTPUT', "Parrot_PMC_cmp_num" );
Parrot_PMC_set_integer_native(interp, pmc, 42);

0 comments on commit 34a4162

Please sign in to comment.