diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-09 01:23:46 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-09 01:23:46 +0400 |
commit | 414c78ccff47f8261b102b1842ff66a475cf7e7b (patch) | |
tree | 64185ec1102cb0c5d6c13863530d66f34b2f5c92 /t | |
parent | 69637e5e6d79dbef18ebb89c7d1885cca30496f4 (diff) | |
parent | 283b365e4521082ab37d93762bb2f049dc38bee8 (diff) |
Merge branch 'maint'
* maint:
t1402: work around shell quoting issue on NetBSD
remote-hg: Fix biridectionality -> bidirectionality typos
Diffstat (limited to 't')
-rwxr-xr-x | t/t1402-check-ref-format.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t1402-check-ref-format.sh b/t/t1402-check-ref-format.sh index 1ae4d87c92..1a5a5f39fd 100755 --- a/t/t1402-check-ref-format.sh +++ b/t/t1402-check-ref-format.sh @@ -11,7 +11,8 @@ valid_ref() { prereq=$1 shift esac - test_expect_success $prereq "ref name '$1' is valid${2:+ with options $2}" " + desc="ref name '$1' is valid${2:+ with options $2}" + test_expect_success $prereq "$desc" " git check-ref-format $2 '$1' " } @@ -22,7 +23,8 @@ invalid_ref() { prereq=$1 shift esac - test_expect_success $prereq "ref name '$1' is invalid${2:+ with options $2}" " + desc="ref name '$1' is invalid${2:+ with options $2}" + test_expect_success $prereq "$desc" " test_must_fail git check-ref-format $2 '$1' " } |