From: Masaki Suketa Date: 2002-08-10T21:19:53+09:00 Subject: Re: [PATCH] object.c ruby.h (fwd) In message "Re: [PATCH] object.c ruby.h (fwd)" on 02/08/09, "NAKAMURA, Hiroshi" writes: > > If I add assert_true method which checks 'foo == true', > > could you live with it more pleasantly? > > Yes, I can. At the next, does method 'assert' become > 'deprecated'? ...Sorry, I don't mean it. I just > remembered JUnit... No, at least I never deprecate 'assert' method. assert(foo) # foo should not be nil nor false. assert_true(foo) # foo should be true. If I want to test that foo should not be nil, I'll use assert. If I want to test that foo should be true, I'll use assert_true. Regards, Masaki Suketa