]> Cypherpunks repositories - gostls13.git/commit
os: add more tests in TestReadStdin
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 10 Nov 2016 02:00:35 +0000 (13:00 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 17 Nov 2016 07:03:49 +0000 (07:03 +0000)
commitdadfd14babccc30757ddb3f3eb8fbb7cd3bf4b5a
tree1809b1fb7296fee5d109061d01a53b2ec7c726f1
parentb8d56fdd9379bd5bb89454f3679f01acecd9df4d
os: add more tests in TestReadStdin

TestReadStdin always fill up buffer provided by ReadFile caller full.
But we do not know if real ReadFile does the same. Add tests where
buffer is only filled with limited data.

Change-Id: I0fc776325c2b1fe60511126c439f4b0560e9d653
Reviewed-on: https://go-review.googlesource.com/33030
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/os_windows_test.go