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

Function assertEqual

tests/runtime/variants/runner.go:92–96  ·  view source on GitHub ↗
(a T, b T)

Source from the content-addressed store, hash-verified

90}
91
92func assertEqual[T comparable](a T, b T) {
93 if a != b {
94 panic(fmt.Sprintf("%v not equal to %v", a, b))
95 }
96}

Callers 1

RunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected