MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / ListParam4

Function ListParam4

tests/runtime/lists/test.go:51–58  ·  view source on GitHub ↗
(x [][]string)

Source from the content-addressed store, hash-verified

49}
50
51func ListParam4(x [][]string) {
52 if !slices.Equal(x[0], []string{"foo", "bar"}) {
53 panic("trouble")
54 }
55 if !slices.Equal(x[1], []string{"baz"}) {
56 panic("trouble")
57 }
58}
59
60func ListParam5(x []Tuple3[uint8, uint32, uint8]) {
61 if !slices.Equal(x, []Tuple3[uint8, uint32, uint8]{

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected