summaryrefslogtreecommitdiff
path: root/t/t0019/parse_json.perl
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-02-03 22:40:13 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-03 15:39:55 -0800
commit791afae2924d032186bfad557c462c92025ac901 (patch)
tree7afd4cea626cd18db6d24c38ce7ec3df7d9033d7 /t/t0019/parse_json.perl
parentprogress.c test helper: add missing braces (diff)
downloadtgif-791afae2924d032186bfad557c462c92025ac901.tar.xz
progress.c tests: make start/stop commands on stdin
Change the usage of the "test-tool progress" introduced in 2bb74b53a49 (Test the progress display, 2019-09-16) to take command like "start" and "stop" on stdin, instead of running them implicitly. This makes for tests that are easier to read, since the recipe will mirror the API usage, and allows for easily testing invalid usage that would yield (or should yield) a BUG(), e.g. providing two "start" calls in a row. A subsequent commit will add such tests. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0019/parse_json.perl')
0 files changed, 0 insertions, 0 deletions