diff --git a/vlib/v/fmt/tests/simple_expected.vv b/vlib/v/fmt/tests/simple_expected.vv index 7a7b80562b..95f2d6a5cd 100644 --- a/vlib/v/fmt/tests/simple_expected.vv +++ b/vlib/v/fmt/tests/simple_expected.vv @@ -182,3 +182,7 @@ fn fn_with_match_expr() { else {} } } + +fn fn_variadic(arg int, args ...string) { + println('Do nothing') +} diff --git a/vlib/v/fmt/tests/simple_input.vv b/vlib/v/fmt/tests/simple_input.vv index b2df23644e..a2c1308f6a 100644 --- a/vlib/v/fmt/tests/simple_input.vv +++ b/vlib/v/fmt/tests/simple_input.vv @@ -182,3 +182,7 @@ fn fn_with_match_expr() { else {} } } + +fn fn_variadic(arg int, args... string) { + println('Do nothing') +}