# Add std.fs.File.readAllAlloc tests · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/923c0feda1e42dcaf65ab80bafd7400996b39861)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 923c0feda1e42dcaf65ab80bafd7400996b39861

Requested commit: 923c0feda1e42dcaf65ab80bafd7400996b39861

Commit: 923c0feda1e42dcaf65ab80bafd7400996b39861

Tree: ec079017d4f35d31181f496d2ea6e07138a7c845

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
Add std.fs.File.readAllAlloc tests

This commit adds some unit tests for `std.fs.File.readAllAlloc`
function. It also updates the docs of `Reader.readNoEof`
which were outdated, and swaps `inStream()` for  `reader()` in
`File.readAllAlloc` with the former being deprecated.

```

## Parents

- [6ff6ac866dee20f4a39fe92d2fa11605d94e2aec](https://git.cafe/gitcafe/zig/commit/6ff6ac866dee20f4a39fe92d2fa11605d94e2aec?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/923c0feda1e42dcaf65ab80bafd7400996b39861?format=markdown)
