How do you use assert_result? #190
-
Im trying to test if a function runs without throwing any errors, but it tells me that i can't use 'is_success' on base nil.
|
Beta Was this translation helpful? Give feedback.
Answered by
MikeSchulze
Dec 26, 2021
Replies: 1 comment
-
Hm, looks like the I will convert this question into a bug issue. #191 Will be fixed by v1.1.2 where is release to day Thanks for reporting. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MikeSchulze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hm, looks like the
hashmap.add(n)
returns null and theassert_result.is_success()
can't handle null values.You using the
Result
type as return type onadd(n)
right?I will convert this question into a bug issue. #191
Will be fixed by v1.1.2 where is release to day
Thanks for reporting.