Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Dec 16, 2024
1 parent b877011 commit d822640
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 d822640

Please sign in to comment.