Skip to content

Cgroup2: Testify all tests#285

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
dcantah:testify-tests
Apr 24, 2023
Merged

Cgroup2: Testify all tests#285
AkihiroSuda merged 1 commit intocontainerd:mainfrom
dcantah:testify-tests

Conversation

@dcantah
Copy link
Member

@dcantah dcantah commented Apr 11, 2023

Use require/assert for all the cgroup2 tests. These tests were in a weird spot where some of them used a mix of testify.assert, and some used testify.require in place of if err != nil { t.Fatal() }. This just moves everything over to require.NoError and friends.

Use require/assert for all the cgroup2 tests. These tests were in a
weird spot where some of them used a mix of testify.assert, and some
used `testify.require` in place of `if err != nil { t.Fatal() }`. This
just moves everything over to `require.NoError` and friends.

Signed-off-by: Danny Canter <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 0218f40 into containerd:main Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants