Skip to content

Conversation

atlet99
Copy link

@atlet99 atlet99 commented Jul 1, 2025

Fixes Issue #37 - expand checker to handle struct/slice/map literals,
function declarations, method declarations, and interface methods.

@quasilyte
Copy link
Owner

Hi! Could we have tests so it's easier for us to verify that it works as intended?
There are file-based tests in the repository. Every matchable pattern should be covered to illustrate how it's supposed to work.

@quasilyte
Copy link
Owner

There are 2 kinds of tests:

@atlet99
Copy link
Author

atlet99 commented Jul 2, 2025

Hi! Could we have tests so it's easier for us to verify that it works as intended? There are file-based tests in the repository. Every matchable pattern should be covered to illustrate how it's supposed to work.

Hello, bro... I'm happy to help for each Open Source.
So, I'll add both positive and negative tests shortly - within a short time. It's seems easy for implement.

@atlet99
Copy link
Author

atlet99 commented Jul 2, 2025

There are 2 kinds of tests:

I've added the required tests - both positive and negative cases to cover the newly supported argument list types. Let me know if anything else needs to be adjusted. I'm ready to improve my PR.

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.

arg list slice doesn't detect all cases
2 participants