tests for read-in-full vs readpartial semantics
commite825dd70a7e4a10f0dfba10610fd9d58a7b8e694
authorEric Wong <normalperson@yhbt.net>
Wed, 7 Oct 2009 07:52:41 +0000 (7 00:52 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 7 Oct 2009 08:00:47 +0000 (7 01:00 -0700)
tree5838e70434b8caf0a2543f455581069b89509747
parent438c99aec2d74489fa89b3a6c60d1fb41bb2f7e6
tests for read-in-full vs readpartial semantics

We modified TeeInput to have read-in-full semantics in most
situations to suit existing apps and libraries (like Rails) that
don't check for and handle partial reads correctly.

The read-in-full semantics are needed by Rails because of this:
  https://rails.lighthouseapp.com/projects/8994/tickets/3343
test/unit/test_tee_input.rb