From f513f744b6b2673652530c2c95c2f4727428aa8f Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Wed, 14 Apr 2021 18:43:53 +0300 Subject: [PATCH] Fix --- illegal/string_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) }