(b []byte)
| 1101 | "false", "null", `""`, `"\""`, `"a"`} |
| 1102 | |
| 1103 | func makeRandomJSONChars(b []byte) { |
| 1104 | var bb []byte |
| 1105 | for len(bb) < len(b) { |
| 1106 | bb = append(bb, jsonchars[rand.Int()%len(jsonchars)]...) |
| 1107 | } |
| 1108 | copy(b, bb[:len(b)]) |
| 1109 | } |
| 1110 | |
| 1111 | func TestValidRandom(t *testing.T) { |
| 1112 | rand.Seed(time.Now().UnixNano()) |
no test coverage detected
searching dependent graphs…