MCPcopy
hub / github.com/redis/go-redis / TestToLower

Function TestToLower

internal/util_test.go:28–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26}
27
28func TestToLower(t *testing.T) {
29 It("toLower", func() {
30 str := "AaBbCcDdEeFfGg"
31 Expect(ToLower(str)).To(Equal(strings.ToLower(str)))
32
33 str = "ABCDE"
34 Expect(ToLower(str)).To(Equal(strings.ToLower(str)))
35
36 str = "ABCDE"
37 Expect(ToLower(str)).To(Equal(strings.ToLower(str)))
38
39 str = "abced"
40 Expect(ToLower(str)).To(Equal(strings.ToLower(str)))
41 })
42}
43
44func TestIsLower(t *testing.T) {
45 It("isLower", func() {

Callers

nothing calls this directly

Calls 1

ToLowerFunction · 0.85

Tested by

no test coverage detected