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

Function assertEqual

tests/runtime/resources/runner.go:48–52  ·  view source on GitHub ↗
(a T, b T)

Source from the content-addressed store, hash-verified

46}
47
48func assertEqual[T comparable](a T, b T) {
49 if a != b {
50 panic(fmt.Sprintf("%v not equal to %v", a, b))
51 }
52}

Callers 1

RunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected