Skip to content

Commit

Permalink
chore: more exhaustive error check in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Aug 28, 2024
1 parent 50d424f commit f030b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/docker_rootless_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func TestRootlessDockerSocketPath(t *testing.T) {
setupRootlessNotFound(t)

socketPath, err := rootlessDockerSocketPath(context.Background())
require.Error(t, err)
require.ErrorIs(t, err, ErrRootlessDockerNotFoundXDGRuntimeDir)
assert.Empty(t, socketPath)
})
}
Expand Down

0 comments on commit f030b5c

Please sign in to comment.