Skip to content

Commit 4e5c7b8

Browse files
committed
refactored tests for refactored unicodeSearch function
1 parent 3454594 commit 4e5c7b8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

uni_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ func TestUnicodeCodePointsSingle(t *testing.T) {
1717
glyph string
1818
expected string
1919
}{
20-
{"j", "U+006A 'j'\n"}, // ASCII
21-
{"€", "U+20AC '€'\n"}, // Currency
22-
{"β", "U+03B2 'β'\n"}, // Greek and Coptic
23-
{"ф", "U+0444 'ф'\n"}, // Cyrillic
24-
{"▀", "U+2580 '▀'\n"}, // Block elements
20+
{"j", "U+006A 'j'"}, // ASCII
21+
{"€", "U+20AC '€'"}, // Currency
22+
{"β", "U+03B2 'β'"}, // Greek and Coptic
23+
{"ф", "U+0444 'ф'"}, // Cyrillic
24+
{"▀", "U+2580 '▀'"}, // Block elements
2525
}
2626

2727
for _, c := range cases {
@@ -42,11 +42,11 @@ func TestUnicodeCodePointsMultiple(t *testing.T) {
4242
glyph string
4343
expected string
4444
}{
45-
{"j", "U+006A 'j'\n"}, // ASCII
46-
{"€", "U+20AC '€'\n"}, // Currency
47-
{"β", "U+03B2 'β'\n"}, // Greek and Coptic
48-
{"ф", "U+0444 'ф'\n"}, // Cyrillic
49-
{"▀", "U+2580 '▀'\n"}, // Block elements
45+
{"j", "U+006A 'j'"}, // ASCII
46+
{"€", "U+20AC '€'"}, // Currency
47+
{"β", "U+03B2 'β'"}, // Greek and Coptic
48+
{"ф", "U+0444 'ф'"}, // Cyrillic
49+
{"▀", "U+2580 '▀'"}, // Block elements
5050
}
5151

5252
var testglyphs []string

0 commit comments

Comments
 (0)