mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
Merge pull request #3333 from akaihola/editor-test-fix
This commit is contained in:
commit
ea03f9def0
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def test_get_environment_editor():
|
|||
assert get_environment_editor("default") == "default"
|
||||
|
||||
# Test EDITOR precedence
|
||||
with patch.dict(os.environ, {"EDITOR": "vim"}):
|
||||
with patch.dict(os.environ, {"EDITOR": "vim"}, clear=True):
|
||||
assert get_environment_editor() == "vim"
|
||||
|
||||
# Test VISUAL overrides EDITOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue