# std.array_list: promote tests to doctests · gitcafe/zig

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

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

Visibility: public

Requested revision: a8e2a21a86673c2f5ebecb3d21701e12bdca683c

Requested commit: a8e2a21a86673c2f5ebecb3d21701e12bdca683c

Commit: a8e2a21a86673c2f5ebecb3d21701e12bdca683c

Tree: 60bff94cb54dbceade3ef79e8fbfee756375e4ef

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.array_list: promote tests to doctests

This moves most tests from ArrayList and ArrayListUnmanaged into the
corresponding namespace and provides a doctest for nearly every method.

```

## Parents

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

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