From 222eb86e6e0e9d29024a8c3b23bb7d0559edc6fc Mon Sep 17 00:00:00 2001 From: yuyi Date: Sat, 21 Jan 2023 00:53:42 +0800 Subject: [PATCH] tests: correct the test comment in generic_fn_with_alias_arg.vv (#17048) --- vlib/v/slow_tests/inout/generic_fn_with_alias_arg.vv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vlib/v/slow_tests/inout/generic_fn_with_alias_arg.vv b/vlib/v/slow_tests/inout/generic_fn_with_alias_arg.vv index 9db6449fb..067388e09 100644 --- a/vlib/v/slow_tests/inout/generic_fn_with_alias_arg.vv +++ b/vlib/v/slow_tests/inout/generic_fn_with_alias_arg.vv @@ -14,10 +14,10 @@ type MyStructAlias = MyStruct[int] fn main() { a := MyStruct[int]{} - mprint(a) // works - mprint_with_alias(a) // works + mprint(a) + mprint_with_alias(a) b := MyStructAlias{} - mprint(b) // does not work, requires mprint[int](b) - mprint_with_alias(b) // works + mprint(b) + mprint_with_alias(b) } -- 2.39.5