chore: add more tests (#3259)

This commit is contained in:
Kevin Wan
2023-05-18 23:43:50 +08:00
committed by GitHub
parent 55e2c7ee83
commit 701bb31ed2
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
package internal
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestRunningInUserNS(t *testing.T) {
// should be false in docker
assert.False(t, runningInUserNS())
}