Browse Source

add more test cases

tags/v1.0.0-rc1
Shivaram Lingamneni 5 years ago
parent
commit
92eca4d795
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      irc/strings_test.go

+ 8
- 0
irc/strings_test.go View File

@@ -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…
Cancel
Save