[#1551] Hashes as keys — "Nathaniel Talbott" <nathaniel@...>

I was just playing around with Hash#hash and discovered that you can't use a

13 messages 2003/09/23

New tests

From: Dave Thomas <Dave@...>
Date: 2003-09-05 00:37:29 UTC
List: ruby-core #1512
I was looking through the new test/ruby/* stuff just now, and notices 
that the code did

   assert( 1+2 == 3)

rather than

   assert_equal(3, 1+2)

In general, wouldn't it be better to do the latter, so that we get 
meaningful error messages?


Cheers


Dave


In This Thread

Prev Next