mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-26 07:53:58 +00:00
fix win2 typo
This commit is contained in:
parent
499e5133b5
commit
bb73e8682f
1 changed files with 2 additions and 2 deletions
|
@ -637,12 +637,12 @@ def test_get_config_dir_compat(monkeypatch):
|
|||
monkeypatch.delenv("BORG_CONFIG_DIR", raising=False)
|
||||
monkeypatch.delenv("XDG_CONFIG_HOME", raising=False)
|
||||
# fails on macOS: assert '/Users/tw/Library/Preferences/borg' == '/Users/tw/.config/borg'
|
||||
# fails on win2 MSYS2 (but we do not need legacy compat there).
|
||||
# fails on win32 MSYS2 (but we do not need legacy compat there).
|
||||
assert get_config_dir(legacy=False) == get_config_dir(legacy=True)
|
||||
if not is_darwin and not is_win32:
|
||||
monkeypatch.setenv("XDG_CONFIG_HOME", "/var/tmp/.config1")
|
||||
# fails on macOS: assert '/Users/tw/Library/Preferences/borg' == '/var/tmp/.config1/borg'
|
||||
# fails on win2 MSYS2 (but we do not need legacy compat there).
|
||||
# fails on win32 MSYS2 (but we do not need legacy compat there).
|
||||
assert get_config_dir(legacy=False) == get_config_dir(legacy=True)
|
||||
monkeypatch.setenv("BORG_CONFIG_DIR", "/var/tmp/.config2")
|
||||
assert get_config_dir(legacy=False) == get_config_dir(legacy=True)
|
||||
|
|
Loading…
Reference in a new issue