1
0
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:
Alexander Medvednikov
2019-07-25 14:13:35 +02:00
parent ceb0139329
commit 2ac579ca0a
5 changed files with 5 additions and 3 deletions

View File

@ -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'