Verifies: SYS-REQ-001 [boundary]
(t *testing.T)
| 423 | |
| 424 | // Verifies: SYS-REQ-001 [boundary] |
| 425 | func TestRemoval5_SearchKeys_ArrayIndex_NestedObject(t *testing.T) { |
| 426 | data := []byte(`[{"a":1},{"a":2}]`) |
| 427 | offset := searchKeys(data, "[1]", "a") |
| 428 | if offset == -1 { |
| 429 | t.Fatal("searchKeys failed to find [1].a") |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | // ============================================================================= |
| 434 | // REMOVAL 6: `if e != nil` inside `if o == 0` removed in ArrayEach |
nothing calls this directly
no test coverage detected
searching dependent graphs…