(t *testing.T)
| 110 | } |
| 111 | |
| 112 | func TestToLower(t *testing.T) { |
| 113 | tests := []struct { |
| 114 | r rune |
| 115 | want rune |
| 116 | }{ |
| 117 | {'C', 'c'}, |
| 118 | {'h', 'h'}, |
| 119 | {'Ñ', 'ñ'}, |
| 120 | {'9', '9'}, |
| 121 | {'.', '.'}, |
| 122 | } |
| 123 | for _, test := range tests { |
| 124 | t.Run(string(test.r), func(t *testing.T) { |
| 125 | assertTrue(t, test.want == toLower(test.r)) |
| 126 | }) |
| 127 | } |
| 128 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…