Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* 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
  • Loading branch information...
commit c83af2cc9b310e69cea4a0ba8ddfb31dd788a2c4 1 parent 4f02887
@nobu nobu authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  test/io/console/test_io_console.rb
View
2  test/io/console/test_io_console.rb
@@ -196,6 +196,8 @@ def test_noctty
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)
Please sign in to comment.
Something went wrong with that request. Please try again.