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

ruby-changes:51142

From: kazu <ko1@a...>
Date: Tue, 8 May 2018 00:08:50 +0900 (JST)
Subject: [ruby-changes:51142] kazu:r63349 (trunk): Remove needless require [ci skip]

kazu	2018-05-08 00:08:46 +0900 (Tue, 08 May 2018)

  New Revision: 63349

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63349

  Log:
    Remove needless require [ci skip]
    
    already require on top

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 63348)
+++ test/ruby/test_io.rb	(revision 63349)
@@ -2691,7 +2691,6 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L2691
   end
 
   def test_flush_in_finalizer1
-    require 'tempfile'
     bug3910 = '[ruby-dev:42341]'
     tmp = Tempfile.open("bug3910") {|t|
       path = t.path
@@ -2717,7 +2716,6 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L2716
   end
 
   def test_flush_in_finalizer2
-    require 'tempfile'
     bug3910 = '[ruby-dev:42341]'
     Tempfile.open("bug3910") {|t|
       path = t.path

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

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