Skip to content

Commit

Permalink
ignore case #17.
Browse files Browse the repository at this point in the history
  • Loading branch information
prataprc committed Apr 13, 2018
1 parent 936382f commit 12226b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func TestTextNocase(t *testing.T) {

for _, tc := range testCases {
for _, tag := range strings.Split(tc.lang, ",") {
collator := collate.New(language.MustParse(tag))
collator := collate.New(language.MustParse(tag), collate.IgnoreCase)
config := NewDefaultConfig().SetTextCollator(collator)
for _, item := range tc.in {
item.collate(config)
Expand Down

0 comments on commit 12226b2

Please sign in to comment.