Alex Young <alex / blackkettle.org> writes:

> Peña wrote:
>> fr Alex:
>> # That's...  odd.
>> # # > $ ruby -v
>> # > ruby 1.8.4 (2005-12-24) [i386-linux]
>> # > # > Which OS and ruby are you using?
>> # # $ ruby -v
>> # ruby 1.8.4 (2005-12-24) [i486-linux]
>> # # It's on Ubuntu 5.10.
>> can't help, but fwiw,
> <snip>
>>   1) Failure:
>> test_destroy(DestroyTest) [gc.rb:24]:
>> <false> is not true.
>> 1 tests, 1 assertions, 1 failures, 0 errors
> <snip>
>
> Thanks for that, it's good to know it's not just me...  Ok, next
> question:  which is the correct behaviour?

Mine has the correct behaviour.

The finaliser has no reference to the the TestDir instance being
finalised.

YS.