From: Hugh Sasse Staff Elec Eng Date: 2005-02-03T01:39:27+09:00 Subject: Re: Nuby needs an intro to testing for Win 2K On Thu, 3 Feb 2005, Barry Sperling wrote: > And this is what I got running it in Scite: I don't use Scite, so can't be sure how this interacts. Presumably you get the same results outside of Scite? > > Loaded suite Test_Unit.rbw > Started > F > Finished in 0.05 seconds. > > 1) Failure: > test_wrap(TC_StringWrapper) [Test_Unit.rbw:11]: > The line should have been wrapped to 9 columns. > <"This is a\nwrapped\nline."> expected but was > <"">. > > 1 tests, 1 assertions, 1 failures, 0 errors >> Exit code: 1 > We'd really need to see your code to be able to reproduce this, and to be sure that it doesn't differ significantly from the example. We could probably do with knowing what versions of Ruby and Test Unit you are using. All we can say now is that it is clear the assert statement is getting an empty string, but from what I can's see. > Any thoughts, or other links, would be appreciated. > Barry Hugh