Skip to content

Conversation

@Snider
Copy link
Owner

@Snider Snider commented Nov 2, 2025

Adds _internal_test.go files to test unexported functions in the crypt and lthn packages, improving overall test coverage.

  • Adds tests for the ensureRSA private function in pkg/crypt/crypt.go.
  • Adds tests for the createSalt private function in pkg/crypt/std/lthn/lthn.go.

These changes align with the project's TDD methodology and follow the _Good, _Bad, _Ugly testing structure.

Adds `_internal_test.go` files to test unexported functions in the `crypt` and `lthn` packages, improving overall test coverage.

- Adds tests for the `ensureRSA` private function in `pkg/crypt/crypt.go`.
- Adds tests for the `createSalt` private function in `pkg/crypt/std/lthn/lthn.go`.

These changes align with the project's TDD methodology and follow the `_Good`, `_Bad`, `_Ugly` testing structure.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 2, 2025

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

📥 Commits

Reviewing files that changed from the base of the PR and between 8e9a7d7 and c286a82.

📒 Files selected for processing (2)
  • pkg/crypt/crypt_internal_test.go (1 hunks)
  • pkg/crypt/std/lthn/lthn_internal_test.go (1 hunks)
 _____________________________
< Lint today, shine tomorrow. >
 -----------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch test-internal-functions

Comment @coderabbitai help to get the list of available commands and usage tips.

@Snider Snider merged commit 0e04f21 into main Nov 2, 2025
1 of 2 checks passed
@Snider Snider deleted the test-internal-functions branch November 2, 2025 22:15
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.

2 participants