goconvey icon indicating copy to clipboard operation
goconvey copied to clipboard

actual and expected prams is equal, but goconvey print nor Equal?

Open cjphaha opened this issue 3 years ago • 1 comments

hi, guys,i have a problem when i use goconvey to test my function the actual and expected is equal, i use the reflect method to check it, i found it is equal,this is why ? image

cjphaha avatar Jul 31 '21 14:07 cjphaha

seems you should use ShouldResemble matcher (DeepEqual under the hood), instead of ShouldEqual (equality check)

unkeep avatar Dec 12 '21 09:12 unkeep