Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A
(b *testing.B)
| 20 | // Verifies: STK-REQ-005 |
| 21 | // MCDC STK-REQ-005: N/A |
| 22 | func BenchmarkDeleteNested(b *testing.B) { |
| 23 | b.ReportAllocs() |
| 24 | b.ResetTimer() |
| 25 | for i := 0; i < b.N; i++ { |
| 26 | data1 := []byte(`{ "instanceId": 1, "ip": "10.10.10.10", "services": [ { "id": 1, "name": "srv1" } ] }`) |
| 27 | _ = jsonparser.Delete(data1, "services", "id") |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | // Verifies: STK-REQ-005 |
| 32 | // MCDC STK-REQ-005: N/A |
nothing calls this directly
no test coverage detected
searching dependent graphs…