------ art_108387_27167274.1222345828558 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Sep 25, 2008 at 2:15 PM, Fujioka <fuj / rabbix.jp> wrote: > Hi, > > Test/Unit was replaced to Miniunit. > Miniunit deprecated these 4 methods : > assert_{not_equal, no_match, not_nil, not_same}, > and replaced to refute_{equal, match, nil, same} > Ruby's assertion methods had 'assert' prefix. > But refute_ is not useful name because: > when I want to use assertion methods, > I will enter 'assert' to search box. > > All of the ruby's assertion methods have 'assert' prefix. > I think this rule is beautiful and useful. > I hope revert the 4 methods replacing. > > agreed. I think, ryan went to far here deprecating these. however, I completely respect his efforts to provide more meaningful names. -- henon ------ art_108387_27167274.1222345828558 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <div dir tr"><div class mail_quote">On Thu, Sep 25, 2008 at 2:15 PM, Fujioka <span dir tr"><<a href ailto:fuj / rabbix.jp">fuj / rabbix.jp</a>></span> wrote:<br><blockquote class mail_quote" style argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> Hi,<br> <br> Test/Unit was replaced to Miniunit.<br> Miniunit deprecated these 4 methods :<br> assert_{not_equal, no_match, not_nil, not_same},<br> and replaced to refute_{equal, match, nil, same}<br> Ruby's assertion methods had 'assert' prefix.<br> But refute_ is not useful name because:<br> when I want to use assertion methods,<br> I will enter 'assert' to search box.<br> <br> All of the ruby's assertion methods have 'assert' prefix.<br> I think this rule is beautiful and useful.<br> I hope revert the 4 methods replacing.<br> <br> </blockquote></div>agreed. I think, ryan went to far here deprecating these. however, I completely respect his efforts to provide more meaningful names.<br><div>-- henon</div></div> ------ art_108387_27167274.1222345828558--