diff --git a/illegal/string_test.go b/illegal/string_test.go index bfd1014..1ceff73 100644 --- a/illegal/string_test.go +++ b/illegal/string_test.go @@ -13,5 +13,5 @@ func TestStringFromBytes(t *testing.T) { s := illegal.StringFromBytes(b) assert.Equal(t, "abc", s) - assert.Equal(t, **(**uintptr)(unsafe.Pointer(&b)), **(**uintptr)(unsafe.Pointer(&s))) + assert.Equal(t, *(*uintptr)(unsafe.Pointer(&b)), *(*uintptr)(unsafe.Pointer(&s))) }