Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wit-bindgen
/ ListParam3
Function
ListParam3
tests/runtime/lists/test.go:45–49 ·
view source on GitHub ↗
(x []string)
Source
from the content-addressed store, hash-verified
43
}
44
45
func
ListParam3(x []string) {
46
if
!slices.Equal(x, []string{
"foo"
,
"bar"
,
"baz"
}) {
47
panic(
"trouble"
)
48
}
49
}
50
51
func
ListParam4(x [][]string) {
52
if
!slices.Equal(x[0], []string{
"foo"
,
"bar"
}) {
Callers
1
Run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected