Explorar el Código

add more test cases

tags/v1.0.0-rc1
Shivaram Lingamneni hace 5 años
padre
commit
92eca4d795
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  1. 8
    0
      irc/strings_test.go

+ 8
- 0
irc/strings_test.go Ver fichero

@@ -40,6 +40,14 @@ func TestCasefoldChannel(t *testing.T) {
40 40
 			channel: "#",
41 41
 			folded:  "#",
42 42
 		},
43
+		{
44
+			channel: "##",
45
+			folded:  "##",
46
+		},
47
+		{
48
+			channel: "##Ubuntu",
49
+			folded:  "##ubuntu",
50
+		},
43 51
 		{
44 52
 			channel: "#中文频道",
45 53
 			folded:  "#中文频道",

Loading…
Cancelar
Guardar