Skip to content

Commit 12226b2

Browse files
committed
ignore case #17.
1 parent 936382f commit 12226b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collate_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestTextNocase(t *testing.T) {
110110

111111
for _, tc := range testCases {
112112
for _, tag := range strings.Split(tc.lang, ",") {
113-
collator := collate.New(language.MustParse(tag))
113+
collator := collate.New(language.MustParse(tag), collate.IgnoreCase)
114114
config := NewDefaultConfig().SetTextCollator(collator)
115115
for _, item := range tc.in {
116116
item.collate(config)

0 commit comments

Comments
 (0)