lpil / gleeunit

Gleam bindings for the Erlang EUnit test framework
Apache License 2.0
23 stars 17 forks source link

feat: Add `Option` assertions #29

Closed bjufre closed 7 months ago

bjufre commented 7 months ago

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 🙏

bjufre commented 7 months ago

@lpil done, let me know if there's anything else that I can do to help 🙏