[svn:parrot] r41621 - branches/pcc_reapply/t/pmc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Fri Oct 2 22:28:09 UTC 2009


Author: whiteknight
Date: Fri Oct  2 22:28:08 2009
New Revision: 41621
URL: https://trac.parrot.org/parrot/changeset/41621

Log:
[pcc] remove some more uses of 'like' from core tests

Modified:
   branches/pcc_reapply/t/pmc/float.t

Modified: branches/pcc_reapply/t/pmc/float.t
==============================================================================
--- branches/pcc_reapply/t/pmc/float.t	Fri Oct  2 22:20:19 2009	(r41620)
+++ branches/pcc_reapply/t/pmc/float.t	Fri Oct  2 22:28:08 2009	(r41621)
@@ -168,10 +168,7 @@
     .return ()
 
   divide_by_zero_handler:
-    .get_results ($P1)
-    $S1 = $P1
-    say $S1
-    like($S1, ':s division by zero', 'divide by zero')
+    ok(1, "divide by zero throws exception")
 .end
 
 .sub 'truth_positive_float'
@@ -346,11 +343,12 @@
     neg $P0
 
     $S0 = $P0
-    like($S0, '^\-0', 'negative zero')
+    is($S0, "-0")
     .return ()
 
   negative_zero_todoed:
     todo(1, '-0.0 not implemented, TT#313')
+    pop_eh
 .end
 
 .sub 'equality'


More information about the parrot-commits mailing list