aboutsummaryrefslogtreecommitdiff
path: root/lib/std/io/Reader/test.zig
AgeCommit message (Collapse)Author
2025-07-11std: rename `io` to `Io` in preparationAndrew Kelley
This commit is non-breaking. std.io is deprecated in favor of std.Io, in preparation for that namespace becoming an interface.
2024-09-26std.io.Reader: Fix test erroneously using undefined.Alex Rønne Petersen
2024-02-26Remove redundant test name prefixes now that test names are fully qualifiedRyan Liptak
Follow up to #19079, which made test names fully qualified. This fixes tests that now-redundant information in their test names. For example here's a fully qualified test name before the changes in this commit: "priority_queue.test.std.PriorityQueue: shrinkAndFree" and the same test's name after the changes in this commit: "priority_queue.test.shrinkAndFree"
2023-11-19lib: correct unnecessary uses of 'var'mlugg
2023-10-03std: add type-erased reader; base GenericReader on itAndrew Kelley
The idea here is to avoid code bloat by having only one actual io.Reader implementation, which is type erased, and then implement a GenericReader that preserves type information on top of that as thin glue code. The strategy here is for that glue code to `@errSetCast` the result of the type-erased reader functions, however, while trying to do that I ran into #17343.