Re: [PATCH v3 7/9] config API users: test for *_get_value_multi() segfaults
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 15 quoted lines
> +test_expect_failure 'unregister with no value for maintenance.repo' '
> + cp .git/config .git/config.orig &&
> + test_when_finished mv .git/config.orig .git/config &&
> +
> + cat >>.git/config <<-\EOF &&
> + [maintenance]
> + repo
> + EOF
> + cat >expect <<-\EOF &&
> + error: missing value for '\''maintenance.repo'\''
> + EOF
> + git maintenance unregister &&
> + git maintenance unregister --force
> +'
> +
Mechanical error: This 'expect' was probably meant for the next patch.