#796: Rewrite globals.t and integer.t in PIR
--------------------+-------------------------------------------------------
 Reporter:  flh     |       Owner:  Infinoid
     Type:  patch   |      Status:  new     
 Priority:  normal  |   Milestone:          
Component:  none    |     Version:  trunk   
 Severity:  medium  |    Keywords:          
     Lang:          |       Patch:  new     
 Platform:          |  
--------------------+-------------------------------------------------------

Comment(by flh):

 My mistake, the last test was actually wrong (but I don't understand which
 magic made it pass on my computer). I've updated the patch for integer.t,
 the last test now reads:


 {{{
 .sub 'test_mod_i_i_ic_by_zero'
     $I1 = 10
     $I2 = mod $I1, 0
     is($I2, 10, 'mod_i_i_ic by zero')
 .end
 }}}

 (The previous one used an uninitialized $I1.)

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/796#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to