Add `std.testing.checkAllAllocationFailures`

Adds a function that allows checking for memory leaks (and other problems) by taking advantage of the FailingAllocator and inducing failure at every allocation point within the provided `test_fn` (based on the strategy employed in the Zig parser tests, which can now use this function).
6d04ab6d5bRyan Liptak committed on 4/4/2022, 12:32:43 PM· committed by Veikka Tuominenparent91eb1af
2 files changedLine totals unavailable