mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Export GIT_WORK_TREE during yadm enter
(#160)
This commit is contained in:
parent
32baf81b56
commit
e7d2406af3
@ -44,6 +44,7 @@ def test_enter(runner, yadm_y, paths, shell, success):
|
||||
assert 'does not refer to an executable' in run.out
|
||||
if 'env' in shell:
|
||||
assert f'GIT_DIR={paths.repo}' in run.out
|
||||
assert f'GIT_WORK_TREE={paths.work}' in run.out
|
||||
assert f'PROMPT={prompt}' in run.out
|
||||
assert f'PS1={prompt}' in run.out
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user