You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"valid emoji sequence with word before", "hello :sunglasses:"},
58
-
{"valid emoji sequence with word before and single colon after", "Hello :sunglasses::"},
59
-
{"valid emoji sequence with word before followed by single colon and more text", "Hello :sunglasses::lol"},
60
-
{"valid emoji sequence with word after", ":sunglasses: hello"},
61
-
{"two valid emoji sequences with space inbetween", ":sunglasses: :sunglasses:"},
62
-
{"two valid emoji sequence with no space inbetween", ":sunglasses::sunglasses:"},
63
-
{"two valid emoji sequence with word inbetween", ":sunglasses: hello :sunglasses:"},
64
-
{"one mismatch", ":UPPER:"},
65
-
{"one match upper", ":CRY:"},
66
-
{"long with all kinds of cases", "I am :man_technologist: :extended_ascii_ý: :invalid_sequence: :umlautö: from :flag_for_turkey:. Tests are :thumbs_up:"},
67
-
}
37
+
var (
38
+
sinkstring
39
+
inputVariations= [][2]string{
40
+
{"empty string", ""},
41
+
{"just a colon", ":"},
42
+
{"empty emoji sequence", "::"},
43
+
{"invalid emoji sequence with invalid characters", ":sunglassesö:sunglasses:"},
44
+
{"valid single letter emoji sequence", ":a:"},
45
+
{"no emoji sequence", "Hello"},
46
+
{"no emoji sequence, but single colon", "Hello :"},
47
+
{"a long word", "abcdefghijklmnopqrstuvwxyz"},
48
+
{"empty emoji sequence in middle of text", "What a :: world."},
{"valid emoji sequence with word before", "hello :sunglasses:"},
59
+
{"valid emoji sequence with word before and single colon after", "Hello :sunglasses::"},
60
+
{"valid emoji sequence with word before followed by single colon and more text", "Hello :sunglasses::lol"},
61
+
{"valid emoji sequence with word after", ":sunglasses: hello"},
62
+
{"two valid emoji sequences with space inbetween", ":sunglasses: :sunglasses:"},
63
+
{"two valid emoji sequence with no space inbetween", ":sunglasses::sunglasses:"},
64
+
{"two valid emoji sequence with word inbetween", ":sunglasses: hello :sunglasses:"},
65
+
{"one mismatch", ":UPPER:"},
66
+
{"one match upper", ":CRY:"},
67
+
{"long with all kinds of cases", "I am :man_technologist: :extended_ascii_ý: :invalid_sequence: :umlautö: from :flag_for_turkey:. Tests are :thumbs_up:"},
0 commit comments