зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
2f6d8bdc94
Коммит
2828593e1a
|
@ -1,3 +1,8 @@
|
|||
Tue Dec 27 22:34:54 2011 Shota Fukumori <sorah@tubusu.net>
|
||||
|
||||
* lib/test/unit.rb (Worker#close): "closing IO if IO is closed"
|
||||
should be "closing IO if IO isn't closed"
|
||||
|
||||
Tue Dec 27 22:04:27 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* st.c (st_update): new function to lookup the given key and
|
||||
|
|
|
@ -294,7 +294,7 @@ module Test
|
|||
|
||||
def close
|
||||
begin
|
||||
@io.close if @io.closed?
|
||||
@io.close unless @io.closed?
|
||||
rescue IOError; end
|
||||
self
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче