Verifies: SYS-REQ-019 [boundary] Empty input with key path returns KeyPathNotFoundError.
(t *testing.T)
| 1010 | // Verifies: SYS-REQ-019 [boundary] |
| 1011 | // Empty input with key path returns KeyPathNotFoundError. |
| 1012 | func TestGetEmptyInputWithPath(t *testing.T) { |
| 1013 | _, dt, off, err := Get([]byte(``), "a") |
| 1014 | if err == nil { |
| 1015 | t.Fatal("Get(empty, path) should return error") |
| 1016 | } |
| 1017 | _ = dt |
| 1018 | _ = off |
| 1019 | } |
| 1020 | |
| 1021 | // Verifies: SYS-REQ-020 [boundary] |
| 1022 | // Object key resolved at correct scope. |