# std.testing: allow print\(\) at comptime · gitcafe/zig

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

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

Visibility: public

Requested revision: dc44baf763f38ba3735d45fc4f633cac13949b0e

Requested commit: dc44baf763f38ba3735d45fc4f633cac13949b0e

Commit: dc44baf763f38ba3735d45fc4f633cac13949b0e

Tree: 94017201182ca6009fd1d43a89ba711767f3eee6

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
std.testing: allow print() at comptime

This allows functions like expectEqual to be performed at comptime. If
an error is detected, the result is logged via a compile error.

```

## Parents

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

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