[svn:parrot] r43208 - trunk/t/compilers/imcc/syn

bubaflub at svn.parrot.org bubaflub at svn.parrot.org
Tue Dec 22 14:41:51 UTC 2009


Author: bubaflub
Date: Tue Dec 22 14:41:50 2009
New Revision: 43208
URL: https://trac.parrot.org/parrot/changeset/43208

Log:
can't use throws_like() for corevm tests; using dies_ok() instead

Modified:
   trunk/t/compilers/imcc/syn/labels.t

Modified: trunk/t/compilers/imcc/syn/labels.t
==============================================================================
--- trunk/t/compilers/imcc/syn/labels.t	Tue Dec 22 14:37:52 2009	(r43207)
+++ trunk/t/compilers/imcc/syn/labels.t	Tue Dec 22 14:41:50 2009	(r43208)
@@ -29,7 +29,7 @@
 .end
 
 .sub test_illegal_label
-    throws_like( <<'CODE', 'no\ label\ offset\ defined', 'illegal label' )
+    dies_ok( <<'CODE', 'illegal label' )
 .sub bogus :main
     goto _function
     print "never\n"


More information about the parrot-commits mailing list