# Add file support for incremental error tests · gitcafe/zig

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

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

Visibility: public

Requested revision: 879b5627799b82ba7bcb4f15a8f0f517e014b222

Requested commit: 879b5627799b82ba7bcb4f15a8f0f517e014b222

Commit: 879b5627799b82ba7bcb4f15a8f0f517e014b222

Tree: 6ec93d94eb1b5d05cb920ac40523d123edc3d046

Author: Cody Tapscott

Committer: Cody Tapscott

## Message

```
Add file support for incremental error tests

Compile error test cases can now be given as a sequence of files:
  - "foo.1.zig"
  - "foo.2.zig"
  - "foo.3.zig"
  - etc.

This sequence of files is tested as incremental compilation updates to a
single "foo.zig" source file.

To help avoid mistakes, we enforce strict ordering for these files.
"foo.zig" cannot co-exist with "foo.X.zig", the sequence must include
"foo.1.zig", and no numbers may be skipped.

```

## Parents

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

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