Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Sep 22, 2024
1 parent 286ce13 commit 986e9cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vlib/v/tests/options/option_fn_var_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ fn test_main() {
println(fun)
assert fun == 'options'
}

fn test_ifguard() {
if req2 := find_func('vlang') {
assert req2('options') == 'options'
}
}

0 comments on commit 986e9cf

Please sign in to comment.