(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func Test_GenerateRandomString(t *testing.T) { |
| 48 | as := assert.New(t) |
| 49 | str1, err := generateRandomString(10) |
| 50 | as.Nil(err) |
| 51 | str2, err := generateRandomString(10) |
| 52 | as.Nil(err) |
| 53 | as.NotEqual(str1, str2) |
| 54 | } |
| 55 | |
| 56 | func Test_mustToJson(t *testing.T) { |
| 57 | tests := []struct { |
nothing calls this directly
no test coverage detected