From: Phillip Wood Date: Tue, 23 Jul 2024 13:23:57 GMT Subject: Re: [PATCH v2 6/6] t-strbuf: use for_test Message-ID: In-Reply-To: Hi René On 21/07/2024 07:26, René Scharfe wrote: I'm still ambivalent about patches 3-6 but if we do this can we visually separate the initialization and cleanup from the main test body please. For example > + for_test ("strbuf_addch adds char") { > + struct strbuf sb = STRBUF_INIT; + > + t_addch(&sb, 'a'); + > + t_release(&sb); > + } Best Wishes Phillip