1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_io_console.rb: different names

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-12-28 00:24:47 +00:00
parent d29ff24793
commit 903046aa48

View file

@ -289,9 +289,9 @@ class TestIO_Console < Test::Unit::TestCase
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|',