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() } }