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

coke at svn.parrot.org coke at svn.parrot.org
Sun Sep 27 00:47:57 UTC 2009


Author: coke
Date: Sun Sep 27 00:47:57 2009
New Revision: 41506
URL: https://trac.parrot.org/parrot/changeset/41506

Log:
fix typo in test description. Avoid "temp"-style var names when we already have $I regs for that.

Modified:
   trunk/t/pmc/null.t

Modified: trunk/t/pmc/null.t
==============================================================================
--- trunk/t/pmc/null.t	Sun Sep 27 00:28:51 2009	(r41505)
+++ trunk/t/pmc/null.t	Sun Sep 27 00:47:57 2009	(r41506)
@@ -17,7 +17,6 @@
 =cut
 
 .sub main :main
-    .local int i
     .include 'test_more.pir'
 
     plan(3)
@@ -26,12 +25,12 @@
     ok(1, 'Instantiated a Null PMC')
 
     new $P1, ['Null']
-    i = issame $P0, $P1
-    ok (i, 'Null is same as Null')
+    $I0 = issame $P0, $P1
+    ok ($I0, 'Null is same as Null')
 
     new $P2, ['Undef']
-    i = issame $P0, $P2
-    nok(i, 'Null is not same as not Null')
+    $I0 = issame $P0, $P2
+    nok($I0, 'Null is not same as not Undef')
 .end
 
 # Local Variables:


More information about the parrot-commits mailing list