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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Tue Jun 22 14:31:18 UTC 2010


Author: NotFound
Date: Tue Jun 22 14:31:18 2010
New Revision: 47754
URL: https://trac.parrot.org/parrot/changeset/47754

Log:
test ArrayIterator defined_keyed

Modified:
   trunk/t/pmc/arrayiterator.t

Modified: trunk/t/pmc/arrayiterator.t
==============================================================================
--- trunk/t/pmc/arrayiterator.t	Tue Jun 22 12:36:55 2010	(r47753)
+++ trunk/t/pmc/arrayiterator.t	Tue Jun 22 14:31:18 2010	(r47754)
@@ -24,7 +24,7 @@
 .sub main :main
     .include 'test_more.pir'
 
-    plan(27)
+    plan(28)
 
     iterate_forward() # 8 tests
     iterate_backward() # 6 tests
@@ -57,6 +57,9 @@
     $I0 = exists it[$P1]
     is($I0, 1, "exists_keyed gives expected value")
 
+    $I0 = defined it[$P1]
+    is($I0, 1, "defined_keyed gives expected value")
+
     $P2 = it[$P1]
     is($P2, 42, "get_pmc_keyed gives expected value")
 


More information about the parrot-commits mailing list