Merge branch 'jc/test-i18ngrep'
Another step to deprecate test_i18ngrep. * jc/test-i18ngrep: tests: teach callers of test_i18ngrep to use test_grep test framework: further deprecate test_i18ngrep
This commit is contained in:
@ -337,8 +337,8 @@ test_expect_success 'status reports sparse-checkout' '
|
||||
init_repos &&
|
||||
git -C sparse-checkout status >full &&
|
||||
git -C sparse-index status >sparse &&
|
||||
test_i18ngrep "You are in a sparse checkout with " full &&
|
||||
test_i18ngrep "You are in a sparse checkout." sparse
|
||||
test_grep "You are in a sparse checkout with " full &&
|
||||
test_grep "You are in a sparse checkout." sparse
|
||||
'
|
||||
|
||||
test_expect_success 'add, commit, checkout' '
|
||||
@ -1182,7 +1182,7 @@ test_expect_success 'checkout-index outside sparse definition' '
|
||||
# Without --ignore-skip-worktree-bits, outside-of-cone files will trigger
|
||||
# an error
|
||||
test_sparse_match test_must_fail git checkout-index -- folder1/a &&
|
||||
test_i18ngrep "folder1/a has skip-worktree enabled" sparse-checkout-err &&
|
||||
test_grep "folder1/a has skip-worktree enabled" sparse-checkout-err &&
|
||||
test_path_is_missing folder1/a &&
|
||||
|
||||
# With --ignore-skip-worktree-bits, outside-of-cone files are checked out
|
||||
|
Reference in New Issue
Block a user