gitlab.com/evatix-go/core@v1.3.55/coretests/SkipOnUnix.go (about)

     1  package coretests
     2  
     3  import (
     4  	"testing"
     5  
     6  	"gitlab.com/evatix-go/core/errcore"
     7  	"gitlab.com/evatix-go/core/osconsts"
     8  )
     9  
    10  // SkipOnUnix Skip on Unix
    11  func SkipOnUnix(t *testing.T) {
    12  	if osconsts.IsUnixGroup {
    13  		t.Skip(errcore.UnixIgnoreType)
    14  	}
    15  }