[svn:parrot] r44996 - trunk/t/dynpmc
dukeleto at svn.parrot.org
dukeleto at svn.parrot.org
Thu Mar 18 07:01:25 UTC 2010
Author: dukeleto
Date: Thu Mar 18 07:01:16 2010
New Revision: 44996
URL: https://trac.parrot.org/parrot/changeset/44996
Log:
[t][TT #1517] Commented out test for comparing Rational PMC to Integer PMC via ==, which currently blows up
Modified:
trunk/t/dynpmc/rational.t
Modified: trunk/t/dynpmc/rational.t
==============================================================================
--- trunk/t/dynpmc/rational.t Thu Mar 18 06:43:20 2010 (r44995)
+++ trunk/t/dynpmc/rational.t Thu Mar 18 07:01:16 2010 (r44996)
@@ -68,6 +68,7 @@
test_neg()
test_abs()
test_cmp()
+ #test_equal_tt1517()
done:
.return()
.end
@@ -95,6 +96,18 @@
is($P3,'3/2','abs')
.end
+.sub test_equal_tt1517
+ new $P2, 'Rational'
+ new $P3, 'Integer'
+ $P2 = "2/1"
+ $P3 = 2
+ if $P2 == $P3 goto pass
+ ok(0,'== on Rational and Integer PMC')
+ .return()
+ pass:
+ ok(1,'== on Rational and Integer PMC')
+.end
+
.sub test_cmp
new $P2, 'Rational'
new $P3, 'Rational'
More information about the parrot-commits
mailing list