[前][次][番号順一覧][スレッド一覧]

ruby-changes:16618

From: mame <ko1@a...>
Date: Sun, 11 Jul 2010 11:09:28 +0900 (JST)
Subject: [ruby-changes:16618] Ruby:r28611 (trunk): * test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. a

mame	2010-07-11 11:09:09 +0900 (Sun, 11 Jul 2010)

  New Revision: 28611

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28611

  Log:
    * test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test.  a
      patch from caleb clausen in [ruby-core:31182].

  Modified files:
    trunk/ChangeLog
    trunk/test/rdoc/test_rdoc_ri_driver.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28610)
+++ ChangeLog	(revision 28611)
@@ -1,3 +1,8 @@
+Sun Jul 11 11:07:42 2010  Yusuke Endoh  <mame@t...>
+
+	* 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@f...>
 
 	* strftime.c (rb_strftime_with_timespec): fix precision handling for
Index: test/rdoc/test_rdoc_ri_driver.rb
===================================================================
--- test/rdoc/test_rdoc_ri_driver.rb	(revision 28610)
+++ test/rdoc/test_rdoc_ri_driver.rb	(revision 28611)
@@ -499,6 +499,10 @@
     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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]