diff options
author | Jeff King <peff@peff.net> | 2015-03-25 01:32:20 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-25 12:49:33 -0700 |
commit | fc99da1fb7eebae0ccca7709b5fa3e55178d8434 (patch) | |
tree | 1bf39c1a86e3b4a0a25b3a08e9ce4515b81d5a9a /abspath.c | |
parent | t0020: use test_* helpers instead of hand-rolled messages (diff) | |
download | tgif-fc99da1fb7eebae0ccca7709b5fa3e55178d8434.tar.xz |
t9001: drop save_confirm helper
The idea of this helper is that we want to save the current
value of a config variable and then restore it again after
the test completes. However, there's no point in actually
saving the value; it should always be restored to the string
"never" (which you can confirm by instrumenting
save_confirm to print the value it finds).
Let's just replace it with a single test_when_finished call.
Suggested-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'abspath.c')
0 files changed, 0 insertions, 0 deletions