Re: [PATCH v2] t6300: fix issues related to %(contents:size)
From: Jeff King <hidden>
Date: 2020-07-31 19:15:34
From: Jeff King <hidden>
Date: 2020-07-31 19:15:34
On Fri, Jul 31, 2020 at 08:26:07PM +0200, Alban Gruin wrote:
b6839fda68 (ref-filter: add support for %(contents:size), 2020-07-16) added a new format for ref-filter, and added a function to generate tests for this new feature in t6300. Unfortunately, it tries to run `test_expect_sucess' instead of `test_expect_success', and writes $expect to `expected', but tries to read `expect'. Those two issues were probably unnoticed because the script only printed errors, but did not crash. This fixes these issues. Signed-off-by: Alban Gruin <redacted> --- t/t6300-for-each-ref.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Looks good. Good eyes for spotting this, and thanks for the quick fix. -Peff