Skip to content

Commit 31cd827

Browse files
sunshinecogitster
authored andcommitted
t3404: make tests more self-contained
As its very first action, t3404 installs (via set_fake_editor) a specialized $EDITOR which simplifies automated 'rebase -i' testing. Many tests rely upon this setting, thus tests which need a different editor must take extra care upon completion to restore $EDITOR in order to avoid breaking following tests. This places extra burden upon such tests and requires that they undesirably have extra knowledge about surrounding tests. Ease this burden by having each test install the $EDITOR it requires, rather than relying upon a global setting. Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 96cb27a commit 31cd827

File tree

1 file changed

+63
-2
lines changed

1 file changed

+63
-2
lines changed

0 commit comments

Comments
 (0)