[svn:parrot] r42538 - trunk/t/op
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Mon Nov 16 23:32:27 UTC 2009
Author: chromatic
Date: Mon Nov 16 23:32:25 2009
New Revision: 42538
URL: https://trac.parrot.org/parrot/changeset/42538
Log:
[t] Fixed improper register usage in two tests in t/op/number.t (for the mod
opcode), noticed by Havard Eidnes and Geoff Broadwell.
Modified:
trunk/t/op/number.t
Modified: trunk/t/op/number.t
==============================================================================
--- trunk/t/op/number.t Mon Nov 16 21:42:25 2009 (r42537)
+++ trunk/t/op/number.t Mon Nov 16 23:32:25 2009 (r42538)
@@ -914,13 +914,13 @@
set $N0, 0
set $N1, 10
mod $N2, $N1, $N0
- is( $N1, "10", 'mod_n_n_n by zero' )
+ is( $N2, "10", 'mod_n_n_n by zero' )
.end
.sub test_mod_n_nc_n_by_zero
set $N0, 0
mod $N2, 10, $N0
- is( $N1, 0, 'mod_n_nc_n by zero' )
+ is( $N2, 10, 'mod_n_nc_n by zero' )
.end
.sub test_mod_n_n_nc_by_zero
More information about the parrot-commits
mailing list