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

Function assertEqual

tests/runtime/results/runner.go:75–79  ·  view source on GitHub ↗
(a T, b T)

Source from the content-addressed store, hash-verified

73}
74
75func assertEqual[T comparable](a T, b T) {
76 if a != b {
77 panic(fmt.Sprintf("%v not equal to %v", a, b))
78 }
79}

Callers 1

RunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected