Skip to content

fix(tests): correct vault names in WSL path conversion tests#2

Merged
TriplEight merged 2 commits into
mainfrom
3x8_set-default-tests
Feb 19, 2026
Merged

fix(tests): correct vault names in WSL path conversion tests#2
TriplEight merged 2 commits into
mainfrom
3x8_set-default-tests

Conversation

@TriplEight

Copy link
Copy Markdown
Owner

fix(tests): correct vault names in WSL path conversion tests

Description
getPathForVault matches by strings.HasSuffix(path, name), so vault names must be a suffix of the configured path. The original tests used arbitrary keys ('windows', 'secondary', 'linux') that never matched, causing all three WSL tests to fail since PR Yakitrak#84.

Motivation and Context
fix tests

Checklist:

  • I have written unit tests for my changes.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.

getPathForVault matches by strings.HasSuffix(path, name), so vault
names must be a suffix of the configured path. The original tests used
arbitrary keys ('windows', 'secondary', 'linux') that never matched,
causing all three WSL tests to fail since PR Yakitrak#84.
@TriplEight TriplEight merged commit 40f7e4d into main Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant