t5305: move cleanup into test block
authorJeff King <peff@peff.net>
Mon, 5 Sep 2016 21:52:10 +0000 (17:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 18:45:26 +0000 (11:45 -0700)
We usually try to avoid doing any significant actions
outside of test blocks. Although "rm -rf" is unlikely to
either fail or to generate output, moving these to the
point of use makes it more clear that they are part of the
overall setup of "clone.git".

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found