diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-05-07 17:40:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-07 17:50:22 -0700 |
commit | cbdc83f1514963f86e8f027f9e75cde7f757c2a8 (patch) | |
tree | e78bd36af22194a13c9d5e8d707cb8917cfd58ee /commit-graph.c | |
parent | b79deeb55444f9e01a3f6335d7e0507e23e90190 (diff) |
t0018: two small fixes
Even though the three tests that were recently added started their
here-doc with "<<-\EOF", it did not take advantage of that and
instead wrote the here-doc payload abut to the left edge. Use a tabs
to indent these lines.
More importantly, because these all hardcode the expected output,
which contains the current branch name, they break the CI job that
uses 'main' as the default branch name.
Use
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=trunk
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
between the test_description line and ". ./test-lib.sh" line to
force the initial branch name to 'trunk' and expect it to show in
the output.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions