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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Sat Sep 11 15:44:54 UTC 2010


Author: NotFound
Date: Sat Sep 11 15:44:54 2010
New Revision: 48934
URL: https://trac.parrot.org/parrot/changeset/48934

Log:
fix test for Packfile set_integer_keyed_str with invalid key

Modified:
   trunk/t/pmc/packfile.t

Modified: trunk/t/pmc/packfile.t
==============================================================================
--- trunk/t/pmc/packfile.t	Sat Sep 11 15:38:03 2010	(r48933)
+++ trunk/t/pmc/packfile.t	Sat Sep 11 15:44:54 2010	(r48934)
@@ -273,15 +273,15 @@
     inc i
     if i < nkeys goto get_next    
 
-    value = 0
+    i = 0
     push_eh unknown_key
-    value = pf["foo"]
+    pf["foo"] = value
     goto done
   unknown_key:
-    value = 1
+    i = 1
   done:
     pop_eh
-    is(value, 1, "set_integer_keyed_str handle unknown key properly")
+    is(i, 1, "set_integer_keyed_str handle unknown key properly")
     .return()
 .end
 


More information about the parrot-commits mailing list