- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for appendMultiArgs (0.24 sec)
-
test/fixedbugs/issue5793.go
return []string{"foo"}, "bar" } func appendMultiArgs() ([]byte, byte, byte) { return []byte{'a', 'b'}, '1', '2' } func main() { if c := complex(complexArgs()); c != 5+7i { panic(c) } if s := append(appendArgs()); len(s) != 2 || s[0] != "foo" || s[1] != "bar" { panic(s) } if b := append(appendMultiArgs()); len(b) != 4 || b[0] != 'a' || b[1] != 'b' || b[2] != '1' || b[3] != '2' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 793 bytes - Viewed (0)