rename test to about
This commit is contained in:
@@ -6,7 +6,7 @@ func concatNames(sep string, names ...string) string {
|
||||
return strings.Join(names, sep) // variadic parameters are really just slices
|
||||
}
|
||||
|
||||
func testVariadicFunctions() {
|
||||
func aboutVariadicFunctions() {
|
||||
{
|
||||
str := concatNames(" ", "bob", "billy", "fred")
|
||||
assert(str == __string__) // several values can be passed to variadic parameters
|
||||
|
||||
Reference in New Issue
Block a user