mirror of
https://github.com/wassname/ray.git
synced 2026-08-18 12:20:14 +08:00
Ray operator travis (#6731)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user