From: Daniel Lucraft Date: 2007-07-15T15:27:39+09:00 Subject: Re: Test::Unit Helmut Hagemann wrote: > Hello Ruby fan > That is first time which I into forum > A question places a test environment for a program must provide > Here is program now test the program > ... > The question > Why all stdout announcement stored. > can I delete these announcements and only one message spend I'm not sure what you are asking. If you want to know why it is failing, it looks like it's because of the extra 'y' in "okayy" on line 28. If you want to get only the last line of the stdout, you could do a.split("\n").last but I can't think of a way to only get the last 'message'. Hope this helps at all Dan -- Posted via http://www.ruby-forum.com/.