1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix tests

This commit is contained in:
Alexander Medvednikov
2019-07-25 14:06:26 +02:00
parent 2ad0d0200d
commit ceb0139329
3 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ fn test_ints() {
assert a[4] == 4
assert a.last() == 4
mut s := a.str()
s := a.str()
assert s == '[1, 5, 2, 3, 4]'
assert a[1] == 5
assert a.last() == 4

View File

@@ -140,7 +140,7 @@ fn test_clone() {
mut a := 'a'
a += 'a'
a += 'a'
mut b := a
b := a
mut c := a.clone()
assert c == a
assert c == 'aaa'