From: Brian Buckley Date: 2005-05-06T23:36:01+09:00 Subject: Re: unit test ------=_Part_389_10275367.1115390141311 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Nathaniel, I'm 1.8.2 (2005-04-21) [i386-mswin32] also. Windows XP. I'm not sufficiently familiar with ruby -- might there be custom settings= =20 that I am setting on my box which aren't on yours? (ruby's equivalent to=20 java's classpath? loadpath?) And one more piece of diagnosis info: the code below shows the four methods= =20 that are being added (It still doesn't explain why this only happens to me= =20 when using the name "test_bad_data" or why our method counts are off - 83 v= s=20 82) Any suggestions? Brian --------------------------------- class TestBigDecimal < Test::Unit::TestCase def test_method_count b =3D BigDecimal.methods assert_equal 82, b.size assert_raise(Test::Unit::AssertionFailedError) do assert_equal "0.0", "0.x"=20 end a =3D BigDecimal.methods assert_equal 86, a.size assert_equal a - b,=20 ["pretty_print_cycle",=20 "pretty_print_inspect",=20 "pretty_print",=20 "pretty_print_instance_variables"] end end ------=_Part_389_10275367.1115390141311--