Problems with Test::Unit and Ruby 1.8?

I’ve got some unit tests that run fine in 1.6.8, but don’t work under
1.8.0. Everything else seems OK between the two Ruby versions - if I run
programs using the classes and visually check the output, things seem OK,
but when I actually run unit tests on these classes I get a lot of error
messages, like:

  1. Error!!!
    test_assign(TestSignal):
    NoMethodError: undefined method <<' for nil testSignal.rb:18:intest_assign’
    testSignal.rb:120

Lot’s of things seem to be nil that shouldn’t be.

Anyone else seen problems with Test::Unit under 1.8.0?

Phil