tests: fix fn_test.v

pull/5190/head
Alexander Medvednikov 2020-06-03 10:54:47 +02:00
parent 00978da2c4
commit d182059ba6
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ fn test_mut_struct() {
assert user.age == 19
}
/*
fn mod_ptr(mut buf &byte) {
buf[0] = 77
}
@ -105,6 +106,7 @@ fn test_mut_ptr() {
mod_ptr(mut buf)
assert buf[0] == 77
}
*/
fn assert_in_bool_fn(v int) bool {
assert v < 3