Ray operator travis (#6731)

This commit is contained in:
chenk008
2020-01-09 16:16:08 -06:00
committed by Edward Oakes
parent 60d4d5e1aa
commit f69081242e
3 changed files with 26 additions and 65 deletions
@@ -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()
}
}