mirror of
https://github.com/vlang/v.git
synced 2025-09-15 23:42:28 +03:00
fix_replace
This commit is contained in:
parent
b6b313d246
commit
b0bc53730c
2 changed files with 3 additions and 1 deletions
|
@ -165,6 +165,8 @@ fn test_replace() {
|
|||
assert b.replace('B', '') == 'onetwothree'
|
||||
b = '**char'
|
||||
assert b.replace('*char', 'byteptr') == '*byteptr'
|
||||
mut c :='abc'
|
||||
assert c.replace('','-') == c
|
||||
}
|
||||
|
||||
fn test_itoa() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue