From: Rick DeNatale Date: 2010-09-02T00:23:05+09:00 Subject: Re: why no assert_not? On Wed, Sep 1, 2010 at 5:12 AM, Ryan Davis wrote: > > On Sep 1, 2010, at 01:19 , Martin DeMello wrote: > >> Test::Unit could use a built-in antonym of assert, that succeeds if >> its argument is either false or nil. > > this is why minitest has refute, which means it is available in ruby 1.9: FWIW Refute isn't a very good antonym for assert. Refute means to disprove, assert means to claim that something is true, but doesn't imply truth of that assertion. Deny or Rebut would be better antonyms. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale