Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: prevent segfault in imageverifier test
When VeriftImage returns an error, the first return value may be set to nil (this is the case for timeouts). When that is the case, it makes no point trying to access its fields later in the test. Let's use testify/require instead of testify/assert here to ensure the test halts upon failure. Signed-off-by: Athos Ribeiro <[email protected]>
- Loading branch information