Project

General

Profile

Bug #3428 ยป rdoc_ansi_esc_test.diff

coatl (caleb clausen), 07/11/2010 09:47 AM

View differences:

test/rdoc/test_rdoc_ri_driver.rb 2010-07-10 17:23:17.000000000 -0700
driver = RDoc::RI::Driver.new
io = Object.new
def io.tty?; false; end
assert_instance_of @RM::ToBs, driver.formatter(io)
def io.tty?; true; end
assert_instance_of @RM::ToAnsi, driver.formatter(io)
    (1-1/1)