From 8fafaf38a39976a25541ef9ec966acf6139eebdc Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 2 Mar 2020 19:10:06 +0300 Subject: [PATCH] fmt: add function with variadic arg to test file --- vlib/v/fmt/tests/simple_expected.vv | 4 ++++ vlib/v/fmt/tests/simple_input.vv | 4 ++++ 2 files changed, 8 insertions(+) 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') +}