Verifies: SYS-REQ-070 [boundary] Set without any path shall return KeyPathNotFoundError.
(t *testing.T)
| 379 | // Verifies: SYS-REQ-070 [boundary] |
| 380 | // Set without any path shall return KeyPathNotFoundError. |
| 381 | func TestSetNoPath(t *testing.T) { |
| 382 | _, err := Set([]byte(`{"a":1}`), []byte(`"v"`)) |
| 383 | if !errors.Is(err, KeyPathNotFoundError) { |
| 384 | t.Fatalf("Set with no path error = %v, want %v", err, KeyPathNotFoundError) |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | // ============================================================================= |
| 389 | // ArrayEach error propagation and truncation (SYS-REQ-052, SYS-REQ-053, SYS-REQ-055) |
nothing calls this directly
no test coverage detected
searching dependent graphs…