Skip to content

Commit 903046a

Browse files
committed
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
1 parent d29ff24 commit 903046a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/io/console/test_io_console.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ class TestIO_Console < Test::Unit::TestCase
289289
require 'tempfile'
290290
NOCTTY = noctty
291291
def test_noctty
292-
t = Tempfile.new("console")
292+
t = Tempfile.new("noctty_out")
293293
t.close
294-
t2 = Tempfile.new("console")
294+
t2 = Tempfile.new("noctty_run")
295295
t2.close
296296
cmd = [*NOCTTY[1..-1],
297297
'-e', 'open(ARGV[0], "w") {|f|',

0 commit comments

Comments
 (0)