diff options
author | Eric Wong <e@80x24.org> | 2014-09-03 07:10:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-09-03 07:10:04 +0000 |
commit | 29bc0766942a92549774d0439d1a6362c53bc26c (patch) | |
tree | 86195ef362d3ffa7cfd2698380979f302a8ec90c | |
parent | 9be3f68b9d8d86379339dc0e6852612061880e38 (diff) | |
download | cmogstored-29bc0766942a92549774d0439d1a6362c53bc26c.tar.gz |
This is noticeable in the trunk version of ruby since r47288 ("io.c: do not swallow exceptions at end of block").
-rw-r--r-- | test/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http.rb b/test/http.rb index c847046..e23bddf 100644 --- a/test/http.rb +++ b/test/http.rb @@ -271,7 +271,7 @@ class TestHTTP < Test::Unit::TestCase # wake up the blocked threads writer = Thread.new do nr.times do |i| - File.open(fifo % i, "w") { |fp| fp.write(i.to_s) } + File.open(fifo % i, "w").close end end |