RequireDocNotFoundError asserts that the given error represents a document not found error.
(t testing.TB, e error)
| 773 | |
| 774 | // RequireDocNotFoundError asserts that the given error represents a document not found error. |
| 775 | func RequireDocNotFoundError(t testing.TB, e error) { |
| 776 | require.True(t, IsDocNotFoundError(e), fmt.Sprintf("Expected error to be a doc not found error, but was: %v", e)) |
| 777 | } |
| 778 | |
| 779 | // RequireXattrNotFoundError asserts that the given error represents an xattr not found error. |
| 780 | func RequireXattrNotFoundError(t testing.TB, e error) { |