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

Function ListParam2

tests/runtime/lists/test.go:39–43  ·  view source on GitHub ↗
(x string)

Source from the content-addressed store, hash-verified

37}
38
39func ListParam2(x string) {
40 if x != "foo" {
41 panic("trouble")
42 }
43}
44
45func ListParam3(x []string) {
46 if !slices.Equal(x, []string{"foo", "bar", "baz"}) {

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected