From 5e7651b7837aca95536e167a1112b5c80909d6e3 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 16 Dec 2024 12:30:25 -0300 Subject: [PATCH] fix test --- vlib/v/tests/options/option_method_selector_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/tests/options/option_method_selector_test.v b/vlib/v/tests/options/option_method_selector_test.v index 6daa94e29a99eb..aecc23b5c376b6 100644 --- a/vlib/v/tests/options/option_method_selector_test.v +++ b/vlib/v/tests/options/option_method_selector_test.v @@ -4,7 +4,7 @@ mut: } fn callback(foo &Foo) bool { - return foo.func? == callback + return foo.func != none } type OptFn = fn (&Foo) bool