[svn:parrot] r38070 - in trunk/t: op pmc

tene at svn.parrot.org tene at svn.parrot.org
Sun Apr 12 01:20:38 UTC 2009


Author: tene
Date: Sun Apr 12 01:20:36 2009
New Revision: 38070
URL: https://trac.parrot.org/parrot/changeset/38070

Log:
[t]: Update uncaught exception text in tests.

Modified:
   trunk/t/op/exceptions.t
   trunk/t/pmc/exception.t

Modified: trunk/t/op/exceptions.t
==============================================================================
--- trunk/t/op/exceptions.t	Sun Apr 12 00:43:34 2009	(r38069)
+++ trunk/t/op/exceptions.t	Sun Apr 12 01:20:36 2009	(r38070)
@@ -198,7 +198,7 @@
 _handler:
     end
 CODE
-/No exception handler and no message/
+/died/
 OUTPUT
 
 pasm_error_output_like( <<'CODE', <<'OUTPUT', "throw - no handler, no message" );
@@ -207,7 +207,7 @@
     print "not reached\n"
     end
 CODE
-/No exception handler and no message/
+/died/
 OUTPUT
 
 pasm_output_is( <<'CODE', <<'OUTPUT', "2 exception handlers" );
@@ -311,7 +311,7 @@
     print "caught it\n"
     end
 CODE
-/No exception handler and no message/
+/died/
 OUT
 
 pasm_output_is( <<'CODE', '', "exit exception" );
@@ -420,7 +420,7 @@
 .end
 CODE
 /^main
-No exception handler/
+died/
 OUTPUT
 
 $ENV{TEST_PROG_ARGS} ||= '';

Modified: trunk/t/pmc/exception.t
==============================================================================
--- trunk/t/pmc/exception.t	Sun Apr 12 00:43:34 2009	(r38069)
+++ trunk/t/pmc/exception.t	Sun Apr 12 01:20:36 2009	(r38070)
@@ -269,7 +269,7 @@
 _handler:
     end
 CODE
-/No exception handler and no message/
+/died/
 OUTPUT
 
 pasm_error_output_like( <<'CODE', <<'OUTPUT', "throw - no handler, no message" );
@@ -278,7 +278,7 @@
     print "not reached\n"
     end
 CODE
-/No exception handler and no message/
+/died/
 OUTPUT
 
 pasm_output_is( <<'CODE', <<'OUTPUT', "2 exception handlers" );
@@ -387,7 +387,7 @@
     print "caught it\n"
     end
 CODE
-/No exception handler and no message/
+/died/
 OUT
 
 pasm_output_is( <<'CODE', '', "exit exception" );
@@ -499,7 +499,7 @@
 .end
 CODE
 /^main
-No exception handler/
+died/
 OUTPUT
 
 # exception handlers are still run in an inferior runloop, which messes up
@@ -531,7 +531,7 @@
 CODE
 /^main
 at_exit, flag = 1
-No exception handler/
+died/
 OUTPUT
 
 $ENV{TEST_PROG_ARGS} ||= '';


More information about the parrot-commits mailing list