1
0
Fork 0
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:
nobu 2011-06-17 22:34:07 +00:00
parent 610b2f96e3
commit aba879a3f0

View file

@ -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)