mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. a
patch from caleb clausen in [ruby-core:31182]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d06a6b22f5
commit
7ea26779ab
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Jul 11 11:07:42 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. a
|
||||
patch from caleb clausen in [ruby-core:31182].
|
||||
|
||||
Sat Jul 10 21:43:11 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* strftime.c (rb_strftime_with_timespec): fix precision handling for
|
||||
|
|
|
@ -499,6 +499,10 @@ Foo::Bar#bother
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue