summaryrefslogtreecommitdiff
path: root/prio-queue.c
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2021-06-17 03:17:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-06-17 05:12:21 (GMT)
commit2bafb3d702d4cd77de0d3e68f13188980e0de734 (patch)
tree6f394212728100328ee3baa90c79298fdd5d272e /prio-queue.c
parent5210225f256d01938960d439bff9d809c2ff1809 (diff)
downloadgit-2bafb3d702d4cd77de0d3e68f13188980e0de734.zip
git-2bafb3d702d4cd77de0d3e68f13188980e0de734.tar.gz
git-2bafb3d702d4cd77de0d3e68f13188980e0de734.tar.bz2
test: compare raw output, not mangle tabs and spaces
Before comparing with the expect file, we used to call function "make_user_friendly_and_stable_output" to filter out trailing spaces in output. Ævar recommends using pattern "s/Z$//" to prepare expect file, and then compare it with raw output. Since we have fixed the issue of occasionally missing the clear-to-eol suffix when displaying sideband #2 messages, it is safe and stable to test against raw output. Suggested-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'prio-queue.c')
0 files changed, 0 insertions, 0 deletions