Skip to content

fix(core): replace unwrap() with error handling, add missing tests#9

Merged
lostmygithubaccount merged 1 commit intomainfrom
cody/ws-bkharden
Apr 4, 2026
Merged

fix(core): replace unwrap() with error handling, add missing tests#9
lostmygithubaccount merged 1 commit intomainfrom
cody/ws-bkharden

Conversation

@lostmygithubaccount
Copy link
Copy Markdown
Member

Summary

  • Replace 2 unwrap() calls in config.rs (rename_alias, delete_alias) with context()-based error propagation
  • Add 6 new Python tests: rename_alias, delete_alias, rename_group, delete_group, delete_url_not_found, rename_url_collision
  • Add missing "All tests passed!" echo to bin/test for consistency with other scripts

Review notes

  • 3 unwrap() calls in bookmarks-app are safe (guarded by preceding if checks on the same Option) — left as-is
  • Type stubs (core.pyi) are complete — no changes needed
  • README is accurate against actual API — no changes needed

🤖 Generated with Claude Code

…g tests

Replace two unwrap() calls in config.rs (rename_alias, delete_alias) with
context-rich error propagation. Add 6 new Python tests covering alias/group
operations and error cases. Fix bin/test consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lostmygithubaccount lostmygithubaccount merged commit d82d319 into main Apr 4, 2026
1 check passed
@lostmygithubaccount lostmygithubaccount deleted the cody/ws-bkharden branch April 4, 2026 03:52
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