* 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:
sorah 2011-12-27 13:37:49 +00:00
Родитель 2f6d8bdc94
Коммит 2828593e1a
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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> 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 * st.c (st_update): new function to lookup the given key and

Просмотреть файл

@ -294,7 +294,7 @@ module Test
def close def close
begin begin
@io.close if @io.closed? @io.close unless @io.closed?
rescue IOError; end rescue IOError; end
self self
end end