Files
ray/deploy/ray-operator/controllers/utils/util_test.go
T
2020-01-09 16:16:08 -06:00

19 lines
199 B
Go

package utils
import "testing"
func TestBefore(t *testing.T) {
if Before("a","b") != ""{
t.Fail()
}
if Before("aaa","a") != ""{
t.Fail()
}
if Before("aab","b") != "aa"{
t.Fail()
}
}