You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review feedback: improve test coverage for all mnemonicPrefix values
Changes per reviewer (Byron) and Copilot suggestions:
- Add h/ (HEAD) to the comment listing supported prefixes
- Update test docstring to include h/ prefix
- Expand test to cover all prefix combinations using subTest:
- c/ (commit) vs w/ (worktree)
- c/ (commit) vs i/ (index)
- i/ (index) vs w/ (worktree)
- o/ (object) vs w/ (worktree)
- h/ (HEAD) vs i/ (index)
- h/ (HEAD) vs w/ (worktree)
This ensures the regex pattern [abciwoh] and decode_path() work correctly
with all supported mnemonicPrefix values.
0 commit comments