# std.testing.expectEqualSlices: some improvements · gitcafe/zig

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

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

Visibility: public

Requested revision: ad7a09d95a3867ac9d8230c4b9694f711d09390e

Requested commit: ad7a09d95a3867ac9d8230c4b9694f711d09390e

Commit: ad7a09d95a3867ac9d8230c4b9694f711d09390e

Tree: 742ea0943af722c97e2a7336d8c32a631619e89f

Author: Wooster

Committer: Andrew Kelley

## Message

```
std.testing.expectEqualSlices: some improvements

This mainly replaces ChunkIterator with std.mem.window and also
prints \n, \r, \t using Unicode symbols instead of periods because
they're common non-printable characters.
This same code exists in std.debug.hexdump.
At some point maybe this code could be exposed through a public
function. Then we could reuse the code in both places.

```

## Parents

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

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