This PR adds the assertions be_some and be_none for the Option type, which are analogous of the ones for the Result type.
@lpil I wanted to add some tests, but I didn't see any for the rest of the assertions, please advise which would be the best way to do this if necessary, or if there's anything else that I can do for this new assertions proposal 🙏
This PR adds the assertions
be_some
andbe_none
for theOption
type, which are analogous of the ones for theResult
type.@lpil I wanted to add some tests, but I didn't see any for the rest of the assertions, please advise which would be the best way to do this if necessary, or if there's anything else that I can do for this new assertions proposal 🙏