Closed G-Rath closed 10 months ago
Hey 👋 thanks for another pr. Could you also please update the docs on the code on clean?
https://github.com/gkampitakis/go-snaps/blob/main/snaps/clean.go#L58 and https://github.com/gkampitakis/go-snaps/blob/main/snaps/clean.go#L69
Done! I'm also happy to do a follow-up PR updating the actual parameter once this is merged
Feel free to do it into this pr. Sorry I also missed that TestMain
exists in an example https://github.com/gkampitakis/go-snaps/blob/main/examples/matchSnapshot_test.go#L13-L19
Feel free to do it into this pr
I prefer keeping such things separate since they're not dependent in case one goes wrong i.e. if the variable naming turned out to somehow be breaking, then that can be reverted with just git revert
without losing all these docs updates 🙂
Fair 😄 . Pr looks good to me. Thanks again for the clean up 🙇 . Is it ready for merge?
Sorry I missed this comment - yup it should be good to go!
Traditionally the argument passed to
TestMain
is namedm
nott
- I've also improved the grammer of a comment in one of the examples