[svn:parrot] r40115 - trunk/t/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Jul 16 10:58:05 UTC 2009
Author: bacek
Date: Thu Jul 16 10:58:04 2009
New Revision: 40115
URL: https://trac.parrot.org/parrot/changeset/40115
Log:
[cage] Add pop_eh to *Iterator tests
Modified:
trunk/t/pmc/arrayiterator.t
trunk/t/pmc/stringiterator.t
Modified: trunk/t/pmc/arrayiterator.t
==============================================================================
--- trunk/t/pmc/arrayiterator.t Thu Jul 16 10:56:25 2009 (r40114)
+++ trunk/t/pmc/arrayiterator.t Thu Jul 16 10:58:04 2009 (r40115)
@@ -57,6 +57,7 @@
$P0 = shift it
$I0 = 0
fail:
+ pop_eh
ok($I0, "Shifting from finished iterator throws exception")
.end
@@ -83,6 +84,7 @@
$P0 = shift it
$I0 = 0
fail:
+ pop_eh
ok($I0, "Shifting from finished iterator throws exception")
.end
Modified: trunk/t/pmc/stringiterator.t
==============================================================================
--- trunk/t/pmc/stringiterator.t Thu Jul 16 10:56:25 2009 (r40114)
+++ trunk/t/pmc/stringiterator.t Thu Jul 16 10:58:04 2009 (r40115)
@@ -91,6 +91,7 @@
$P0 = shift it
$I0 = 0
fail:
+ pop_eh
ok($I0, "Shifting from finished iterator throws exception")
.end
More information about the parrot-commits
mailing list