Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp authored and spytheman committed Dec 17, 2024
1 parent 04eebba commit 5e7651b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/tests/options/option_method_selector_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mut:
}

fn callback(foo &Foo) bool {
return foo.func? == callback
return foo.func != none
}

type OptFn = fn (&Foo) bool
Expand Down

0 comments on commit 5e7651b

Please sign in to comment.