invitation bytearray copy debug #1
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -2,6 +2,8 @@ package meowlib
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestCompress(t *testing.T) {
|
||||
@ -18,4 +20,9 @@ func TestCompress(t *testing.T) {
|
||||
println(len(serialized))
|
||||
compressed, _ := cc.Compress()
|
||||
println(len(compressed))
|
||||
ncc, err := NewContactCardFromCompressed(compressed)
|
||||
if err != nil {
|
||||
println(err)
|
||||
}
|
||||
assert.Equal(t, ncc.Name, cc.Name)
|
||||
}
|
||||
|
Reference in New Issue
Block a user