mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
wrap up the new mut check
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user