Merge branch 'maint'
* maint: t1402: work around shell quoting issue on NetBSD remote-hg: Fix biridectionality -> bidirectionality typos
This commit is contained in:
@ -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'
|
||||
"
|
||||
}
|
||||
|
Reference in New Issue
Block a user