# test: correctly track identical error msgs in handled errors list · gitcafe/zig

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

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

Visibility: public

Requested revision: d1e46006758a82f039d23ea26030e3b685a5fa86

Requested commit: d1e46006758a82f039d23ea26030e3b685a5fa86

Commit: d1e46006758a82f039d23ea26030e3b685a5fa86

Tree: 3bdf05a3f952a0c193701571e1696932f9c90e65

Author: Jakub Konka

Committer: Jakub Konka

## Message

````
test: correctly track identical error msgs in handled errors list

Prior to this change, for an example compiler error test case with
multiple identical errors messages such as

```
:1:2: error: foo
:1:2: error: foo
```

the test harness would never increment the error index thus only
marking the very first error message as handled yielding a false
positive.

Additionally, while here, regress `dereference_anyopaque` test case
as not passing on `wasm32-wasi` target.

````

## Parents

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

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