Verifies: SYS-REQ-001 [boundary]
(t *testing.T)
| 429 | |
| 430 | // Verifies: SYS-REQ-001 [boundary] |
| 431 | func TestRemoval5_SearchKeys_ArrayIndex_NestedObject(t *testing.T) { |
| 432 | data := []byte(`[{"a":1},{"a":2}]`) |
| 433 | offset := searchKeys(data, "[1]", "a") |
| 434 | if offset == -1 { |
| 435 | t.Fatal("searchKeys failed to find [1].a") |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | // ============================================================================= |
| 440 | // REMOVAL 6: `if e != nil` inside `if o == 0` removed in ArrayEach |
nothing calls this directly
no test coverage detected