summaryrefslogtreecommitdiff
path: root/t/chainlint
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2019-07-04 02:47:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-08 14:59:59 -0700
commitbb431c3dadbe0011414f9d7512c5967c86da6197 (patch)
tree187d79ed3e8aa9af4708b423b6f1ceb2fb7ee97b /t/chainlint
parentprogress: use term_clear_line() (diff)
downloadtgif-bb431c3dadbe0011414f9d7512c5967c86da6197.tar.xz
t3420: remove progress lines before comparing output
Some of the tests check the output of rebase is what we expect. These were added after a regression that added unwanted stash output when using --autostash. They are useful as they prevent unintended changes to the output of the various rebase commands. However they also include all the progress output which is less useful as it only tests what would be written to a dumb terminal which is not the normal use case. The recent changes to fix clearing the line when printing progress necessarily meant making an ugly change to these tests. Address this my removing the progress output before comparing it to the expected output. We do this by removing everything before the final "\r" on each line as we don't care about the progress indicator, but we do care about what is printed immediately after it. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint')
0 files changed, 0 insertions, 0 deletions