Austin Ziegler wrote: > On 5/12/05, ts <decoux / moulon.inra.fr> wrote: > >>>>>>>"D" == Daniel Berger <djberge / qwest.com> writes: >> >>D> Strangely, though, I can't get this test to pass: >>D> assert_raises(LocalJumpError){ [].select } >> Why do you want that it raise an error ? > > > Daniel is adding to the test suite for Ruby to verify that things do > what they're supposed to do. > > -austin Ah, here's the issue. # test.rb a = [1,2,3] a.select # LocalJumpError [].select # no error I'd call that a bug. I guess I better get crackin' with that test suite, eh? Dan