# std.json: move tests to json/test.zig file · gitcafe/zig

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

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

Visibility: public

Requested revision: c9006d9479c619d9ed555164831e11a04d88d382

Requested commit: c9006d9479c619d9ed555164831e11a04d88d382

Commit: c9006d9479c619d9ed555164831e11a04d88d382

Tree: ea3972c57ca31245d0f0466d9011ced419cede35

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.json: move tests to json/test.zig file

This accomplishes two things:
 * Works around #8442 by putting stage1-specific logic in to disable all
   the std.json tests.
 * Slightly reduces installation size of zig since std lib files ending
   in "test.zig" are excluded from being installed.

```

## Parents

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

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