Skip to content

Commit

Permalink
Small improvements to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matrixik committed Sep 30, 2022
1 parent 6732d2a commit e79300e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func TestSlugMakeLang(t *testing.T) {
{"en", "äÄäöÖöüÜü", "aAaoOouUu", false},
{"gr", "ϊχώΩϋ", "ichooy", true},
{"gr", "ϊχώΩϋ", "ichoOy", false},
{"Ell", "ϊχώΩϋ", "ichooy", true}, // Greek
{"Ell", "ϊχώΩϋ", "ichooy", true}, // Greek
{"Ell", "ϊχώΩϋ", "ichoOy", false}, // Greek
{"hu", "Árvíztűrő tükörfúrógép", "arvizturo-tukorfurogep", true},
{"hu", "Árvíztűrő tükörfúrógép", "Arvizturo-tukorfurogep", false},
Expand Down Expand Up @@ -242,6 +242,7 @@ func TestSubstituteLang(t *testing.T) {
{map[string]string{"o": "no", "a": "or"}, "o a o", "no nor no"},
{map[string]string{"a": "or", "o": "no"}, "o a o", "no nor no"},
{map[string]string{"'": " "}, "That's great", "That s great"},
{map[string]string{"♥": "love"}, "Some ♥", "Some love"},
}

for index, sst := range testCases {
Expand Down

0 comments on commit e79300e

Please sign in to comment.