# std.testing: Add expectEqualBytes that outputs hexdumps with diffs highlighted in red · gitcafe/zig

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

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

Visibility: public

Requested revision: 34fa6a1e0437ab7f08a2ccff2aff88aa77aeb037

Requested commit: 34fa6a1e0437ab7f08a2ccff2aff88aa77aeb037

Commit: 34fa6a1e0437ab7f08a2ccff2aff88aa77aeb037

Tree: 7c8676addbd22e5bd40d5894f995039f3a4bb21d

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
std.testing: Add expectEqualBytes that outputs hexdumps with diffs highlighted in red

The coloring is controlled by `std.debug.detectTTYConfig` so it will be disabled when appropriate.

```

## Parents

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

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