alice-lg/pkg/store/utils_test.go
2022-11-10 12:15:52 +01:00

15 lines
256 B
Go

package store
import (
"testing"
)
func TestContainsCi(t *testing.T) {
if ContainsCi("foo bar", "BaR") != true {
t.Error("An unexpected error occurred.")
}
if ContainsCi("Luxembourg Online SA", "Goo") == true {
t.Error("Should ne no match")
}
}