Skip to content

Commit

Permalink
Merge branch 'ds/fix-test-subcommand-inexact' into seen
Browse files Browse the repository at this point in the history
* ds/fix-test-subcommand-inexact:
  test-lib-functions: fix test_subcommand_inexact
  • Loading branch information
gitster committed Mar 21, 2022
2 parents d9bc890 + ab948fb commit 2823f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/test-lib-functions.sh
Expand Up @@ -1887,8 +1887,8 @@ test_subcommand_inexact () {
shift
fi

local expr=$(printf '"%s".*' "$@")
expr="${expr%,}"
local expr=$(printf '"%s",' "$@")
expr="${expr%,}.*"

if test -n "$negate"
then
Expand Down

0 comments on commit 2823f7b

Please sign in to comment.