diff options
Diffstat (limited to 'test/unit/test_upload.rb')
-rw-r--r-- | test/unit/test_upload.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_upload.rb b/test/unit/test_upload.rb index 7777e00..bcce4bc 100644 --- a/test/unit/test_upload.rb +++ b/test/unit/test_upload.rb @@ -163,7 +163,7 @@ class UploadTest < Test::Unit::TestCase assert_raise(Errno::ECONNRESET, Errno::EPIPE) do ::Unicorn::Const::CHUNK_SIZE.times { sock.syswrite(buf) } end - assert_nothing_raised { sock.gets } + sock.gets tmp.rewind assert_equal length, tmp.read.to_i end |