[PATCH 0/1] [GSoC][PATCH] tests: replace test -(d|f) with test_path_is_(dir|file)
- From
Rohit Ashiwal via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Feb 26, 2019, 13:42 UTC
- Message-ID
- <pull.152.git.gitgitgadget@gmail.com>
Previously we were using test -(d|f) to verify the presencee of a directory/file, but we already have helper functions, viz, test_path_is_dir and test_path_is_file with same functionality. This patch will replace test -(d|f) calls in t3600-rm.sh.
Rohit Ashiwal (1): tests: replace `test -(d|f)` with test_path_is_(dir|file)
t/t3600-rm.sh | 96 +++++++++++++++++++++++++-------------------------- 1 file changed, 48 insertions(+), 48 deletions(-)
base-commit: 8104ec994ea3849a968b4667d072fedd1e688642 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-152%2Fr1walz%2Frefactor-tests-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-152/r1walz/refactor-tests-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/152
-- gitgitgadget