(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestTryFormMap(t *testing.T) { |
| 48 | items := []*model.MsgTimeItem{ |
| 49 | {Name: "123", Value: 456}, |
| 50 | } |
| 51 | if len(tryFormMap(nil, "test", items)) != len(items) { |
| 52 | t.Error("Try form map failed!") |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | func TestParseTimestamp(t *testing.T) { |
| 57 | tm := time.Unix(1620000000, 123000000) |
nothing calls this directly
no test coverage detected