Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add failing test for cmp_pmc

  • Loading branch information...
commit 34a41623e80182c4fe8b1072d8b2cb5e2ee91d6a 1 parent b96f999
@leto leto authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.