]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t2020-checkout-detach.sh
Merge branch 'ps/ref-tests-update'
[thirdparty/git.git] / t / t2020-checkout-detach.sh
index 2eab6474f8d0f4b3116455c95cb71cd69f78a311..8202ef8c74f639fb53a16b943fb5923ecd4e420e 100755 (executable)
@@ -17,12 +17,12 @@ check_not_detached () {
 
 PREV_HEAD_DESC='Previous HEAD position was'
 check_orphan_warning() {
-       test_i18ngrep "you are leaving $2 behind" "$1" &&
-       test_i18ngrep ! "$PREV_HEAD_DESC" "$1"
+       test_grep "you are leaving $2 behind" "$1" &&
+       test_grep ! "$PREV_HEAD_DESC" "$1"
 }
 check_no_orphan_warning() {
-       test_i18ngrep ! "you are leaving .* commit.*behind" "$1" &&
-       test_i18ngrep "$PREV_HEAD_DESC" "$1"
+       test_grep ! "you are leaving .* commit.*behind" "$1" &&
+       test_grep "$PREV_HEAD_DESC" "$1"
 }
 
 reset () {