Andrey Kulinich <Andrey.Kulinich / itgrp.net> writes:
> I was talking about test/unit.
> Why when I'm using it in such code ruby can't detect infinite loop? In 
> my opinion this is test/unit's bug.

By definition, a program can't detect whether it'll exit or not
without actually running itself.  It's known as the Halting Problem,
and it's a fundamental theorem of Computer Science.

-=Eric
-- 
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.
		-- Blair Houghton.