tests/testEncode: Fix potential panic
Both object and objectDecodedBack are interace{}. So it could turn out, if e.g. they are both of the same non-comparable type (e.g. []byte), comparing them directly will panic.
Showing
Please register or sign in to comment