diff --git a/util/encoders/hex_test.go b/util/encoders/hex_test.go index b36ec9d339..3d240e66ee 100644 --- a/util/encoders/hex_test.go +++ b/util/encoders/hex_test.go @@ -51,7 +51,7 @@ func TestHex(t *testing.T) { } // Interoperability - if bytes.Equal(output, output2) { + if !bytes.Equal(output, output2) { t.Errorf("implant encoder does not match server-side encoder %s", err) }