# CLI: fix logic for zig test error message · gitcafe/zig

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

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

Visibility: public

Requested revision: 4c07d41b52d3acdfe81e4712526e60cef78484ab

Requested commit: 4c07d41b52d3acdfe81e4712526e60cef78484ab

Commit: 4c07d41b52d3acdfe81e4712526e60cef78484ab

Tree: 046d2de2285c754f538c85303b18337dc8155a62

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
CLI: fix logic for zig test error message

When using the build system to do unit testing, it lowers to --mod
arguments which were incorrectly tripping a "zig test requires a source
file argument" error.

```

## Parents

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

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