On Thu, Feb 4, 2021 at 4:35 PM Charles Hathaway <chatha...@google.com>
wrote:

> Hey all,
>
> Thomas, I agree that the code you provide would benefit from unit tests,
> but I would like to focus my question on the very common case which simply
> throws the error without additional edge cases, such as the example given
> in the first email.
>

How do you know the code throws an error without testing to see that it
does, in fact, throw the error?

>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BYjuxu1_mfntShaN%2BduZJkQJ2ZWp3S8OKc_cs1K5ZUP1KQYbg%40mail.gmail.com.

Reply via email to