Skip to content

Conversation

@DariuszDepta
Copy link
Member

@DariuszDepta DariuszDepta commented Nov 12, 2025

  • Changed letter capitalization to Go convention - camel case.
  • Made constants and variables local in the module - no need to export them.
  • Added checks for pinned memory elements and size.
  • Added test for Pin, Unpin and GetPinnedMetrics functions.

@DariuszDepta DariuszDepta requested a review from pinosu November 12, 2025 14:10
@DariuszDepta DariuszDepta self-assigned this Nov 12, 2025
Copy link
Collaborator

@pinosu pinosu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I think we could cover few other tast cases e.g. try to pin / unpin non existing code.
Also you could use table driven tests

Copy link
Collaborator

@pinosu pinosu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@DariuszDepta DariuszDepta merged commit 141f837 into main Nov 12, 2025
3 checks passed
@DariuszDepta DariuszDepta deleted the improved-tests branch November 12, 2025 15:49
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.

3 participants