summaryrefslogtreecommitdiff
path: root/t/t9902-completion.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-12 19:04:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-12 19:04:16 (GMT)
commit533a05f63ac110c17d4b3d6f6472b504a9ec8f92 (patch)
treed5385c09cc5449c1707f436b689e792eb470a4d2 /t/t9902-completion.sh
parent624ec4f99d8c58d17ccf5ca8d42bf329a68b731d (diff)
parent9968ffff0d09b4925f339cceafb5f7e7cd78fb02 (diff)
downloadgit-533a05f63ac110c17d4b3d6f6472b504a9ec8f92.zip
git-533a05f63ac110c17d4b3d6f6472b504a9ec8f92.tar.gz
git-533a05f63ac110c17d4b3d6f6472b504a9ec8f92.tar.bz2
Merge branch 'tr/test-lint-no-export-assignment-in-shell'
* tr/test-lint-no-export-assignment-in-shell: test-lint: detect 'export FOO=bar' t9902: fix 'test A == B' to use = operator
Diffstat (limited to 't/t9902-completion.sh')
-rwxr-xr-xt/t9902-completion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index d9e3103..272a071 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -69,7 +69,7 @@ run_completion ()
local -a COMPREPLY _words
local _cword
_words=( $1 )
- test "${1: -1}" == ' ' && _words+=('')
+ test "${1: -1}" = ' ' && _words+=('')
(( _cword = ${#_words[@]} - 1 ))
__git_wrap__git_main && print_comp
}