# std: Add more tests, fix broken code · gitcafe/zig

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

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

Visibility: public

Requested revision: c065e12dbefcde1a48926405bd4f401eadecaca2

Requested commit: c065e12dbefcde1a48926405bd4f401eadecaca2

Commit: c065e12dbefcde1a48926405bd4f401eadecaca2

Tree: 6b09232db1a05c86350f864d991963b38df10309

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Add more tests, fix broken code

It turns out that nothing in the test suite was exercising
preadv/pwritev and so the previous commits silently broke them.

Adding tests revealed readvAll and preadvAll were also broken and not
covered by any test.

```

## Parents

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

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