mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-25 23:02:22 +02:00
сделал StringIntWithSeparator()
This commit is contained in:
@@ -1498,3 +1498,12 @@ func TestStringDateSPo_rus(t *testing.T) {
|
||||
t.Errorf("error: Expected not empty string, but got %s", Otvet)
|
||||
}
|
||||
}
|
||||
|
||||
func TestStringIntWithSeparator(t *testing.T) {
|
||||
x := 1222333
|
||||
//var r rune = '_'
|
||||
s := StringIntWithSeparator(x, '_')
|
||||
if s == "" {
|
||||
t.Error()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user