mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 09:18:08 +02:00
Also run gofmt on kittens subdir in CI
This commit is contained in:
@@ -21,8 +21,8 @@ type GraphemeBreakTest struct {
|
||||
|
||||
func TestSplitIntoGraphemes(t *testing.T) {
|
||||
var m = map[string][]string{
|
||||
" \u0308 ": []string{" \u0308", " "},
|
||||
"abc": []string{"a", "b", "c"},
|
||||
" \u0308 ": {" \u0308", " "},
|
||||
"abc": {"a", "b", "c"},
|
||||
}
|
||||
for text, expected := range m {
|
||||
if diff := cmp.Diff(expected, SplitIntoGraphemes(text)); diff != "" {
|
||||
|
||||
Reference in New Issue
Block a user