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

Function assertEqual

tests/runtime/resource-borrow/runner.go:16–20  ·  view source on GitHub ↗
(a T, b T)

Source from the content-addressed store, hash-verified

14}
15
16func assertEqual[T comparable](a T, b T) {
17 if a != b {
18 panic(fmt.Sprintf("%v not equal to %v", a, b))
19 }
20}

Callers 1

RunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected