diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2020-01-21 15:01:16 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-22 13:37:04 -0800 |
commit | 129510a0672a7f9fd6c1a2d1d6fa36a17ffb6d1c (patch) | |
tree | 0d5ed7b383224c057e13a4b653bd463c8730d1a1 /vcs-svn | |
parent | t2405: use git -C and test_commit -C instead of subshells (diff) | |
download | tgif-129510a0672a7f9fd6c1a2d1d6fa36a17ffb6d1c.tar.xz |
t2405: clarify test descriptions and simplify test
When 'checkout --to' functionality was moved to 'worktree add', tests were adapted
in f194b1ef6e (tests: worktree: retrofit "checkout --to" tests for "worktree add",
2015-07-06).
The calls were changed to 'worktree add' in this test (then t7410), but the test
descriptions were not updated, keeping 'checkout' instead of using the new
terminology (linked worktrees).
Also, in the test each worktree is created in
$TRASH_DIRECTORY/<leading-directory>/main, where the name of <leading-directory>
carries some information about what behavior each test verifies. This directory
structure is not mandatory for the tests; the worktrees can live next to one
another in the trash directory.
Clarify the tests by using the right terminology, and remove the unnecessary
leading directories such that all superproject worktrees are directly next to one
another in the trash directory.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn')
0 files changed, 0 insertions, 0 deletions