Skip to content

Commit

Permalink
fixed a unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryogrid committed May 1, 2024
1 parent 6dc10c9 commit 1018792
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
)

func TestNp2pPacketEncodeMessagePack(t *testing.T) {
tagMap := make(map[string][]interface{})
tagMap["nickname"] = []interface{}{"ryogrid"}
tagMap["u"] = []interface{}{strconv.FormatInt(time.Now().Unix(), 10)}
tagMap := make([][]TagElem, 0)
tagMap = append(tagMap, []TagElem{[]byte("nickname"), []byte("ryogrid")})
tagMap = append(tagMap, []TagElem{[]byte("u"), []byte(strconv.FormatInt(time.Now().Unix(), 10))})

np2p_util.InitializeRandGen(int64(777))

Expand Down

0 comments on commit 1018792

Please sign in to comment.