# Fix erroneous test case · gitcafe/zig

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

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

Visibility: public

Requested revision: 1606dae7286daac67b5eb2d91108f558ab7b2b00

Requested commit: 1606dae7286daac67b5eb2d91108f558ab7b2b00

Commit: 1606dae7286daac67b5eb2d91108f558ab7b2b00

Tree: e132ffb990a6b888d59ec90923f96b3d27ae50ec

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Fix erroneous test case

The *Mem variants cannot return EndOfStream and are generally unsafe to
use.
Proper order of checks, try both the variants and make sure they return
the same error/result.
Run the leb128.zig tests.

```

## Parents

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

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