• Kirill Smelkov's avatar
    tests/testEncode: Fix potential panic · a15630df
    Kirill Smelkov authored
    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.
    a15630df
ogorek_test.go 31.8 KB