Нормализован пример
This commit is contained in:
@@ -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
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user