mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
string: fix replace_each() (#9415)
This commit is contained in:
@@ -329,6 +329,8 @@ fn test_replace_each() {
|
||||
'b',
|
||||
])
|
||||
assert y == 'bbbb'
|
||||
s2 := 'hello_world hello'
|
||||
assert s2.replace_each(['hello_world', 'aaa', 'hello', 'bbb']) == 'aaa bbb'
|
||||
}
|
||||
|
||||
fn test_itoa() {
|
||||
|
Reference in New Issue
Block a user