2
0

Нормализован пример

This commit is contained in:
Dmitry Sedykh
2014-08-17 23:53:55 +04:00
parent 781a20cc2b
commit 7375ded858
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -24,9 +24,9 @@ tests := []string{
for _, text := range tests { for _, text := range tests {
fmt.Println(translit.Ru(text)) fmt.Println(translit.Ru(text))
} }
// Output:
// Proverochnaja STROKA dlja transliteracii // Proverochnaja STROKA dlja transliteracii
// CHASCHA // CHASCHA
// ChaScha // ChaScha
// Chascha // Chascha
// chaSCHA
``` ```
+2 -1
View File
@@ -14,11 +14,12 @@ func ExampleRuTranslit() {
"чаЩА", "чаЩА",
} }
for _, text := range tests { for _, text := range tests {
fmt.Println(translit.RuTranslit(text)) fmt.Println(translit.Ru(text))
} }
// Output: // Output:
// Proverochnaja STROKA dlja transliteracii // Proverochnaja STROKA dlja transliteracii
// CHASCHA // CHASCHA
// ChaScha // ChaScha
// Chascha // Chascha
// chaSCHA
} }