From: René Scharfe Date: Wed, 31 Jul 2024 09:21:18 GMT Subject: Re: [PATCH] t-example-decorate: remove test messages Message-ID: <333d0d04-5fe6-4fca-8cce-1bb557740a70@web.de> In-Reply-To: Am 31.07.24 um 03:41 schrieb Ghanshyam Thakkar: > > If we want to further simplify, I don't see any need for having 'ret' > either and to just call the methods in check(): > > check(add_decoration(&vars->n, vars->two, NULL), ==, NULL); > > which would also provide more context in the stdout rather than printing > 'check(ret == NULL)'. But, I believe you would have already considered > that but kept 'ret' in favor of code readability, so I am also fine with > it. Thanks for patch. Good idea! Worth a separate patch, though. René