diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-03-24 10:51:33 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-03-29 13:27:26 -0400 |
commit | 396a59b0229aae6f87cb18eb6d369087eefdaf57 (patch) | |
tree | 47488d495ad1b12083228c20d4f124358ee8be2e /pkg | |
parent | a01b387e8251bef5fc73f3e8ac72cc5db9ecea9e (diff) | |
download | podman-396a59b0229aae6f87cb18eb6d369087eefdaf57.tar.gz podman-396a59b0229aae6f87cb18eb6d369087eefdaf57.tar.bz2 podman-396a59b0229aae6f87cb18eb6d369087eefdaf57.zip |
libpod/image: unit tests: use `require.NoError`
In contrast to `assert.NoError`, `require.NoError` treats mismatches
fatally which in many cases is necessary to prevent subsequent checks
from segfaulting.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions