Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A
(b *testing.B)
| 9 | // Verifies: STK-REQ-005 |
| 10 | // MCDC STK-REQ-005: N/A |
| 11 | func BenchmarkDeleteSmall(b *testing.B) { |
| 12 | b.ReportAllocs() |
| 13 | b.ResetTimer() |
| 14 | for i := 0; i < b.N; i++ { |
| 15 | data1 := []byte(`{ "instanceId": 1, "ip": "10.10.10.10", "services": [ { "id": 1, "name": "srv1" } ] }`) |
| 16 | _ = jsonparser.Delete(data1, "services") |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | // Verifies: STK-REQ-005 |
| 21 | // MCDC STK-REQ-005: N/A |
nothing calls this directly
no test coverage detected
searching dependent graphs…