From: Yusuke ENDOH Date: 2010-07-11T11:10:46+09:00 Subject: [ruby-core:31183] Re: [Bug #3428] ri outputs ansi escape sequences even when stdout is not a tty Committed to trunk at r28611. Thanks! 2010/7/11 caleb clausen : > Issue #3428 has been updated by caleb clausen. > > File rdoc_ansi_esc_test.diff added > > Sorry for the delay getting back to you on this. Here's a patch which expands test_formatter slightly to exercise the path when output is not a tty. I had hoped to write a high-level black box test, which would be more robust and thorough. But that has proved to be a little more involved than I anticipated. -- Yusuke Endoh