lib: split path_test into buffer/stack/posix tests per ref/hare/path
Mirror ref/hare/path's impl layout in the test siblings: abs/isroot/string/local rows -> buffer_test.ww (ref/hare/path/ buffer.ha:28-77); push/parent/pop-split rows -> stack_test.ww (ref/hare/path/stack.ha:9-180); dirname/basename rows -> posix_test.ww (ref/hare/path/posix.ha:17-71). Pure move: every @test block is byte-identical; only the section banner lines are deleted (file names now carry them) and each section's ref-cite WHY comment rides with its @test. The suite header's Hare-vector/parallel-array WHY paragraphs ride with stack_test.ww (push is their subject); the stale `ww run lib/path/path_test.ww` sentence is dropped, not relocated. Consumers: Makefile LIBRARY_TESTS entry replaced in place. The byteid roster is untouched: lib/path is enrolled there as an import-probe, not a fixture.
This commit is contained in:
3
Makefile
3
Makefile
@@ -497,7 +497,8 @@ LIBRARY_TESTS = lib/errors/errno_test.ww lib/ascii/ascii_test.ww \
|
||||
lib/encoding/base64/base64_test.ww \
|
||||
lib/hash/adler32/adler32_test.ww lib/hash/crc16/crc16_test.ww \
|
||||
lib/hash/crc32/crc32_test.ww lib/hash/crc64/crc64_test.ww \
|
||||
lib/path/path_test.ww lib/crypto/sha256/sha256_test.ww \
|
||||
lib/path/buffer_test.ww lib/path/posix_test.ww \
|
||||
lib/path/stack_test.ww lib/crypto/sha256/sha256_test.ww \
|
||||
lib/hash/siphash/siphash_test.ww \
|
||||
lib/os/os_test.ww lib/os/stat_test.ww lib/dirs/dirs_test.ww
|
||||
|
||||
|
||||
Reference in New Issue
Block a user