Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for 0-byte read propagation.
The two `Some(0)' used to be `None' before the patch, a zero-byte long read exhausting a reader (and thereafter) still produce a `None'.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee887d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at spaolacci@ee887d7
ee887d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging spaolacci/rust/0read = ee887d7 into auto
ee887d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spaolacci/rust/0read = ee887d7 merged ok, testing candidate = 619c4fc
ee887d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/3164
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/1007
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/1009
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/3168
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/2270
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2272
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/3183
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/2272
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2277
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/3185
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/2272
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/2276
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/2347
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/3171
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/2273
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/2277
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/2946
ee887d7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 619c4fc