# std.testing: Fully absorb expectEqualBytes into expectEqualSlices · gitcafe/zig

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

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

Visibility: public

Requested revision: 71c82393ebba8b40266551781d4b2c09b1fca1dc

Requested commit: 71c82393ebba8b40266551781d4b2c09b1fca1dc

Commit: 71c82393ebba8b40266551781d4b2c09b1fca1dc

Tree: 988ead2ed0792d3b990112a49648c44560e53594

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
std.testing: Fully absorb expectEqualBytes into expectEqualSlices

- In #13720, expectEqualBytes was added as a standalone function
- In #13723, expectEqualSlices was made to use expectEqualBytes when the type was u8
- In this commit, expectEqualSlices has fully absorbed expectEqualBytes, and expectEqualBytes itself has been removed

For non-`u8` types, expectEqualSlices will now work similarly to expectEqualBytes (highlighting diffs in red), but will use a full line for each index and therefore will only print a maximum of 16 indexes.

```

## Parents

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

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