On 12/03/2009 04:18 PM, David Golden wrote:
On Thu, Dec 3, 2009 at 3:25 PM, Gabor Szabo<szab...@gmail.com>  wrote:
2 2 : 2 4 : 4 2 :   E r r o r :   C a n n o t   s e t   l o c a l e
t o   l a n g u a g e   A r a b i c .
  ok 3 - ->change_locale(ar)
ok 4 - ->change_locale(de)

Extra space in the output before "ok 3"?

Yeah, looks like your error error message is somehow ending with "\n " which throws off the TAP when merged with the same stream. TAP tries to ignore things it doesn't recognize (which is why you can do "merge" in the first place) but if those things actually mess up the generated TAP there's not much the parser can do.

If it's acceptable for these tests to emit extra stuff like this when failing, it might be best to try and catch it and output it via diag() (or even better Test::Most explain()).

--
Michael Peters

Reply via email to