Closed xperiandri closed 1 year ago
When you want to expect Ok or Error you not only want to ensure in it but extract the value for further processing
Ok
Error
I think Expect.wantOk and Expect.wantError do what you are looking for.
Expect.wantOk
Expect.wantError
Looks like that!
Thanks!
When you want to expect
Ok
orError
you not only want to ensure in it but extract the value for further processing