github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/integration/helpers/os.go (about)

     1  package helpers
     2  
     3  import (
     4  	"runtime"
     5  
     6  	. "github.com/onsi/ginkgo"
     7  )
     8  
     9  func IsWindows() bool {
    10  	return runtime.GOOS == "windows"
    11  }
    12  
    13  func SkipIfWindows() {
    14  
    15  	if IsWindows() {
    16  		Skip("the OS is Windows")
    17  	}
    18  
    19  }