diff --git a/ChangeLog b/ChangeLog index fd8ed4dcb6..0ff9722311 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 27 22:34:54 2011 Shota Fukumori + + * 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 * st.c (st_update): new function to lookup the given key and 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