hmarr / codeowners

🔒 Command line tool and Go library for CODEOWNERS files
MIT License
167 stars 19 forks source link

feat: add test asserts #6

Closed guilhermesiani closed 2 years ago

hmarr commented 2 years ago

Can you say more about what you're looking to accomplish here? Those are testable examples, which show up in the documentation, rather than regular tests.

guilhermesiani commented 2 years ago

Can you say more about what you're looking to accomplish here? Those are testable examples, which show up in the documentation, rather than regular tests.

Wow! I didn't know that we can simply assert with comments... Nice to know about! Thanks for sharing. I'll close the PR.

hmarr commented 2 years ago

It's a slightly niche feature but I like that you can test your documentation with it!

Thanks for clarifying 👍