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:
parent
00978da2c4
commit
d182059ba6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user