fix mut_test.v

pull/1576/head
Alexander Medvednikov 2019-08-11 22:45:18 +03:00
parent 4d44de7685
commit 3c6a11eb0b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ fn foo(b int, a mut []int) {
// TODO
fn test_mut() {
mut numbers := [1,2,3]
foo(7, numbers)
foo(7, mut numbers)
//assert a.len == 4
assert numbers[0] == 7
//assert a[3] == 4