socket_test: ensure timed_write returns proper bytes
commitb8b0c8003ca16cc123c99e91fa65e8702a02a86f
authorEric Wong <normalperson@yhbt.net>
Mon, 14 Nov 2011 09:54:22 +0000 (14 09:54 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 14 Nov 2011 09:54:22 +0000 (14 09:54 +0000)
tree10bb6d2b24680511db6325b0e35dd7cd9f80987a
parentfb6a9f43728f46efee4e3f4aa6c689d260ae7387
socket_test: ensure timed_write returns proper bytes

We rely on this since we alias "write" to this and
IO.copy_stream relies on the proper return value.
test/socket_test.rb