diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2022-04-11 14:39:45 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-04-12 06:28:16 -0400 |
| commit | 17daba1806896a2e45a2c1b1969a540f44a64d86 (patch) | |
| tree | fa6f33e5d4615acc33db6b59f5a680605055e7f2 /lib/std/json/test.zig | |
| parent | bb4e74103b4ea2019ada1a3d7f6c1a68fff101ce (diff) | |
| download | zig-17daba1806896a2e45a2c1b1969a540f44a64d86.tar.gz zig-17daba1806896a2e45a2c1b1969a540f44a64d86.zip | |
std/fs/test.zig: Add test for renaming a dir onto an empty dir
Also split the Dir.rename on directories test into 3 tests:
- General rename of a directory
- Rename of a directory onto an existing empty directory
- Rename of a directory onto an existing non-empty directory
The only new case is the rename onto an existing empty directory, but splitting the tests this way made them much more understandable.
Diffstat (limited to 'lib/std/json/test.zig')
0 files changed, 0 insertions, 0 deletions
