Golang assertion for error contains and equals not working as expecred

前端 未结 0 1138
天命终不由人
天命终不由人 2021-01-29 12:59

I am asserting an error from a function, i have provided such input for the function so that it will throw an error. I want to check if the error is correct.

Here is my f

相关标签:
回答
  • 消灭零回复
提交回复
热议问题