mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
...
This commit is contained in:
parent
16f7380cb0
commit
c73f5ab8a0
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,8 @@ package wcswidth
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
"os/exec"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
|
|
@ -22,7 +22,7 @@ type GraphemeBreakTest struct {
|
|||
func TestSplitIntoGraphemes(t *testing.T) {
|
||||
var m = map[string][]string{
|
||||
" \u0308 ": []string{" \u0308", " "},
|
||||
"abc": []string{"a", "b", "c"},
|
||||
"abc": []string{"a", "b", "c"},
|
||||
}
|
||||
for text, expected := range m {
|
||||
if diff := cmp.Diff(expected, SplitIntoGraphemes(text)); diff != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue