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

tests: fix fn_test.v

This commit is contained in:
Alexander Medvednikov 2020-06-03 10:54:47 +02:00
parent 00978da2c4
commit d182059ba6

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