fmt: add function with variadic arg to test file
parent
cca5c5537f
commit
8fafaf38a3
|
@ -182,3 +182,7 @@ fn fn_with_match_expr() {
|
|||
else {}
|
||||
}
|
||||
}
|
||||
|
||||
fn fn_variadic(arg int, args ...string) {
|
||||
println('Do nothing')
|
||||
}
|
||||
|
|
|
@ -182,3 +182,7 @@ fn fn_with_match_expr() {
|
|||
else {}
|
||||
}
|
||||
}
|
||||
|
||||
fn fn_variadic(arg int, args... string) {
|
||||
println('Do nothing')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue