fetch tests: expand case/esac for later change
Expand a compact case/esac statement for a later change that'll add more logic to the body of the "*" case. This is a whitespace-only change. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Feb 9, 2018 at 20:32 UTC
59caf52d094494a8c02dd7f15302891678533182
1 file changed
+6
-2
t/t5510-fetch.sh
+6
-2
@@ -543,8 +543,12 @@ test_expect_success "should be able to fetch with duplicate refspecs" '
543
set_config_tristate () {
544
# var=$1 val=$2
545
case "$2" in
546
- unset) test_unconfig "$1" ;;
547
- *) git config "$1" "$2" ;;
546
+ unset)
547
+ test_unconfig "$1"
548
+ ;;
549
+ *)
550
+ git config "$1" "$2"
551
+ ;;
552
esac
553
}
554