defradb
defradb copied to clipboard
tests: Add the ability to match against defined errors (errors.Is)
Currently we only have string matching for expected errors. Add the ability to match against defined errors (errors.Is
).
ExpectedError: ds.ErrNotFound
// or
ExpectedErrorString: "datastore: key not found"