From: Nathaniel Talbott Date: 2004-02-03T00:09:16+09:00 Subject: Re: test::unit caller stack feature request On Feb 2, 2004, at 08:04, Simon Strandgaard wrote: > A typical call stack of mine look like the following. > The last 10 lines is visual noise. Is it possible to get > rid of these lines? Test::Unit _is_ stripping the stack that it has control over: > 1) Failure: > test_repeat_nested14(TestMScanner) > [./common.rb:64:in `assert_regex' > ./match_mixins.rb:548:in `_debug_test_repeat_nested14' > (eval):5:in `test_repeat_nested14']: Note that there is only a three line stack here. The noise below is somehow being caused by your use of Test::Unit. Why is... > <["abababab", "ab"]> expected but was ...an array being compared to... > <# line 4> /home/ ... a RuntimeError? Without seeing at least the structure of your code, I can't figure out what's going on, but I don't think it's a Test::Unit issue. I can only make it so smart :-) HTH, Nathaniel <:((><