On 11/26/24 5:12 PM, Andy Valencia wrote:
Again and again for testing I run into how nice it would be to have an open "File" which has its contents set by the unit test code:auto f = StringFile("my test data...", "r");I've searched high and low without discovering something which would fit the bill.Thanks in advance, Andy
An earlier post by H. S. Teoh may be helpful:https://forum.dlang.org/post/mailman.10192.1685482943.31357.digitalmar...@puremagic.com
Ali