From: Phrogz Date: 2009-03-31T03:20:00+09:00 Subject: Re: testy.rb - ruby testing that's mad at the world On Mar 30, 2:12 am, Brian Candler wrote: > Ara Howard wrote: > >>  assert_equal 42, ultimate.answer, "name" > > > you can basically do that too, but i continually forget which is > > expected and which is actual and, as you know, that's a slippery error > > to track down at times. > > Perhaps - but it's one rule that only needs to be learned once. I disagree. I 'learn' it each time I look at it, and then I forget it. I think possibly because I think it's backwards. The same goes for alias_method for me. I cannot tell you how many times I've had to look up the order of old_name/new_name. And with this, it's certainly because I think the values are backwards. (I just had to look up the order to be sure.)