test: add key get wrapper coverage by LegendPei · Pull Request #1730 · apache/casbin · GitHub
Skip to content

test: add key get wrapper coverage - #1730

Merged
hsluoyz merged 1 commit into
apache:masterfrom
LegendPei:test/add-util-keyget-wrapper-tests
Aug 4, 2026
Merged

hsluoyz merged 1 commit into
apache:masterfrom
LegendPei:test/add-util-keyget-wrapper-tests

Conversation

@LegendPei

Copy link
Copy Markdown
Contributor

Add unit test coverage for the KeyGetFunc, KeyGet2Func, and KeyGet3Func wrapper functions in the util package

The new tests cover:

  • argument count validation
  • argument type validation
  • successful path variable extraction
  • missing path variable behavior

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

@hsluoyz
hsluoyz merged commit df166f6 into apache:master Aug 4, 2026
4 checks passed
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