Inspired by your https://github.com/markphelps/optional/pull/8 and the Must* pattern found in other packages I'm including a MustGet function to the standard template. It's especially useful in unit tests when you just want to compare an optional and non-optional.
Inspired by your https://github.com/markphelps/optional/pull/8 and the Must* pattern found in other packages I'm including a
MustGet
function to the standard template. It's especially useful in unit tests when you just want to compare an optional and non-optional.