mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
wrap up the new mut check
This commit is contained in:
parent
ceb0139329
commit
2ac579ca0a
5 changed files with 5 additions and 3 deletions
|
@ -141,7 +141,7 @@ fn test_clone() {
|
|||
a += 'a'
|
||||
a += 'a'
|
||||
b := a
|
||||
mut c := a.clone()
|
||||
c := a.clone()
|
||||
assert c == a
|
||||
assert c == 'aaa'
|
||||
assert b == 'aaa'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue