diff options
author | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-27 13:37:49 +0000 |
---|---|---|
committer | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-27 13:37:49 +0000 |
commit | 2828593e1adb682d802d40570cadd0ff1b246bb2 (patch) | |
tree | 32301ff41e194815187a2b456922bb910091c29e /lib | |
parent | 2f6d8bdc94926a625f769f72b890ed78553c928f (diff) | |
download | ruby-2828593e1adb682d802d40570cadd0ff1b246bb2.tar.gz |
* lib/test/unit.rb (Worker#close): "closing IO if IO is closed"
should be "closing IO if IO isn't closed"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 9a85951b83..eb0666a0e6 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -294,7 +294,7 @@ module Test def close begin - @io.close if @io.closed? + @io.close unless @io.closed? rescue IOError; end self end |