(t *testing.T)
| 526 | } |
| 527 | |
| 528 | func TestKeyNotFound(t *testing.T) { |
| 529 | ctx := TestCtx(t) |
| 530 | bucket := GetTestBucket(t) |
| 531 | defer bucket.Close(ctx) |
| 532 | ds := bucket.GetSingleDataStore() |
| 533 | var body []byte |
| 534 | _, getErr := ds.Get("nonexistentKey", &body) |
| 535 | RequireDocNotFoundError(t, getErr) |
| 536 | |
| 537 | _, _, getRawErr := ds.GetRaw("nonexistentKey") |
| 538 | RequireDocNotFoundError(t, getRawErr) |
| 539 | } |
nothing calls this directly
no test coverage detected