[svn:parrot] r42816 - trunk/t/pmc

dukeleto at svn.parrot.org dukeleto at svn.parrot.org
Fri Nov 27 17:10:00 UTC 2009


Author: dukeleto
Date: Fri Nov 27 17:09:57 2009
New Revision: 42816
URL: https://trac.parrot.org/parrot/changeset/42816

Log:
[t][cage] De-backslash-itis t/pmc/filehandle.t

Modified:
   trunk/t/pmc/filehandle.t

Modified: trunk/t/pmc/filehandle.t
==============================================================================
--- trunk/t/pmc/filehandle.t	Fri Nov 27 10:50:07 2009	(r42815)
+++ trunk/t/pmc/filehandle.t	Fri Nov 27 17:09:57 2009	(r42816)
@@ -581,7 +581,7 @@
 utf8
 OUTPUT
 
-pir_output_is( <<"CODE", <<"OUTPUT", "exit status" );
+pir_output_is( <<'CODE', <<"OUTPUT", "exit status" );
 .include 'iglobals.pasm'
 .sub 'main'
     .local pmc pipe, conf, interp
@@ -605,17 +605,17 @@
     pipe.'readall'()
     pipe.'close'()
     print "expect 0 exit status: "
-    \$I0 = pipe.'exit_status'()
-    say \$I0
+    $I0 = pipe.'exit_status'()
+    say $I0
 
     cmd .= ' --this_is_not_a_valid_option'
     pipe = open cmd, "rp"
     pipe.'readall'()
     pipe.'close'()
     print "expect 1 exit status: "
-    \$I0 = pipe.'exit_status'()
-    \$I0 = \$I0 != 0
-    say \$I0
+    $I0 = pipe.'exit_status'()
+    $I0 = $I0 != 0
+    say $I0
 
 .end
 CODE


More information about the parrot-commits mailing list