From: Junio C Hamano Date: Tue, 16 May 2023 16:10:50 GMT Subject: Re: [PATCH 1/3] tests: do not negate test_path_exists Message-ID: In-Reply-To: Eric Sunshine writes: > On Mon, May 15, 2023 at 10:37 PM Junio C Hamano wrote: >> As a way to assert the path 'foo' is missing, "! test_path_exists foo" a >> poor way to do so, as the helper is designed to complain when 'foo' is >> missing, but the intention of the author who used negated form was to >> make sure it does not exist. This does not help debugging the tests. > > s/a poor/is &/ Thanks. > >> Use test_path_is_missing instead, which is a more appropriate helper. >> >> Signed-off-by: Junio C Hamano