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

ruby-changes:36958

From: nobu <ko1@a...>
Date: Sun, 28 Dec 2014 09:25:02 +0900 (JST)
Subject: [ruby-changes:36958] nobu:r49039 (trunk): test_io_console.rb: different names

nobu	2014-12-28 09:24:47 +0900 (Sun, 28 Dec 2014)

  New Revision: 49039

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

  Log:
    test_io_console.rb: different names
    
    * test/io/console/test_io_console.rb (test_noctty): use different
      names for each tempfiles.

  Modified files:
    trunk/test/io/console/test_io_console.rb
Index: test/io/console/test_io_console.rb
===================================================================
--- test/io/console/test_io_console.rb	(revision 49038)
+++ test/io/console/test_io_console.rb	(revision 49039)
@@ -289,9 +289,9 @@ class TestIO_Console < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/io/console/test_io_console.rb#L289
     require 'tempfile'
     NOCTTY = noctty
     def test_noctty
-      t = Tempfile.new("console")
+      t = Tempfile.new("noctty_out")
       t.close
-      t2 = Tempfile.new("console")
+      t2 = Tempfile.new("noctty_run")
       t2.close
       cmd = [*NOCTTY[1..-1],
         '-e', 'open(ARGV[0], "w") {|f|',

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

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