
This PS makes sure we have linter and unit tests processed. The code has been reformatted to adhere to Go's code formatting conventions. Change-Id: I31f15d6d6c4b9bda7e3837941b6c9c3c3735aea7
16 lines
328 B
Go
16 lines
328 B
Go
package util
|
|
|
|
import (
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
const failingNamespaceUtil = "foo:util"
|
|
|
|
var _ = Describe("Util", func() {
|
|
It("fails on trying to resolve a socket with namespace", func() {
|
|
contains := ContainsSeparator(failingNamespaceUtil, "Util")
|
|
Expect(contains).To(Equal(true))
|
|
})
|
|
})
|