github.com/ActiveState/cli@v0.0.0-20240508170324-6801f60cd051/pkg/sysinfo/sysinfo_darwin_test.go (about) 1 package sysinfo 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/assert" 7 "github.com/stretchr/testify/require" 8 ) 9 10 func TestGetDarwinProductVersionFromFS(t *testing.T) { 11 productVersion, err := getDarwinProductVersionFromFS() 12 require.NoError(t, err) 13 assert.NotEmpty(t, productVersion) 14 }