Нормализован пример
This commit is contained in:
@@ -24,9 +24,9 @@ tests := []string{
|
||||
for _, text := range tests {
|
||||
fmt.Println(translit.Ru(text))
|
||||
}
|
||||
// Output:
|
||||
// Proverochnaja STROKA dlja transliteracii
|
||||
// CHASCHA
|
||||
// ChaScha
|
||||
// Chascha
|
||||
// chaSCHA
|
||||
```
|
||||
|
||||
+2
-1
@@ -14,11 +14,12 @@ func ExampleRuTranslit() {
|
||||
"чаЩА",
|
||||
}
|
||||
for _, text := range tests {
|
||||
fmt.Println(translit.RuTranslit(text))
|
||||
fmt.Println(translit.Ru(text))
|
||||
}
|
||||
// Output:
|
||||
// Proverochnaja STROKA dlja transliteracii
|
||||
// CHASCHA
|
||||
// ChaScha
|
||||
// Chascha
|
||||
// chaSCHA
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user