mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/io/console/test_io_console.rb (TestIO_Console#test_noctty):
dispose temporary file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
610b2f96e3
commit
aba879a3f0
1 changed files with 2 additions and 0 deletions
|
@ -196,6 +196,8 @@ class TestIO_Console < Test::Unit::TestCase
|
|||
system(*cmd)
|
||||
t.open
|
||||
assert_equal("nil", t.gets.chomp)
|
||||
ensure
|
||||
t.close! if t and !t.closed?
|
||||
end
|
||||
end
|
||||
end if defined?(IO.console)
|
||||
|
|
Loading…
Reference in a new issue