diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-28 00:24:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-28 00:24:47 +0000 |
commit | 903046aa4835611c110a7d8b0831b176b8a1bcad (patch) | |
tree | 0b025ab94e7f5e46a9a41b034c8251948dd7594a /test/io/console/test_io_console.rb | |
parent | d29ff247936236673cf117cff558f55c787750a8 (diff) | |
download | ruby-903046aa4835611c110a7d8b0831b176b8a1bcad.tar.gz |
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
Diffstat (limited to 'test/io/console/test_io_console.rb')
-rw-r--r-- | test/io/console/test_io_console.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 3481a2b213..a44e5ffff9 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -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|', |