[operator] Minor cleanup (#7498)

This commit is contained in:
Edward Oakes
2020-03-09 11:23:46 -07:00
committed by GitHub
parent b4e2d5317e
commit 08d4cb3822
7 changed files with 40 additions and 67 deletions
@@ -3,16 +3,15 @@ package utils
import "testing"
func TestBefore(t *testing.T) {
if Before("a","b") != ""{
if Before("a", "b") != "" {
t.Fail()
}
if Before("aaa","a") != ""{
if Before("aaa", "a") != "" {
t.Fail()
}
if Before("aab","b") != "aa"{
if Before("aab", "b") != "aa" {
t.Fail()
}
}