# Add test for Queue.dump · gitcafe/zig

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

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

Visibility: public

Requested revision: d9ed3d186dc09cab05b841b924664fc886077275

Requested commit: d9ed3d186dc09cab05b841b924664fc886077275

Commit: d9ed3d186dc09cab05b841b924664fc886077275

Tree: 0d6b76d47453575ce8fec7b02aec58e63198d7dc

Author: Wink Saville

Committer: Wink Saville

## Message

```
Add test for Queue.dump

To make dump testable added dumpToSteam which takes a stream as input
and added the stream as a paraemter to dumpRecursive.

Added test "std.atomic.Queue dump"

And to make the test more robust SliceOutStream.pos is now public. This
allows the user of SliceOutStream to know the length of the data captured.

```

## Parents

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

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