MCPcopy Index your code
hub / github.com/Shopify/go-lua / validate

Function validate

undump_test.go:85–89  ·  view source on GitHub ↗
(expected, actual interface{}, description string, t *testing.T)

Source from the content-addressed store, hash-verified

83}
84
85func validate(expected, actual interface{}, description string, t *testing.T) {
86 if expected != actual {
87 t.Errorf("expected %v %s in main function but found %v", expected, description, actual)
88 }
89}
90
91func expectErrorFromUndump(expected error, data interface{}, t *testing.T) {
92 l := NewState()

Callers 2

TestParserFunction · 0.85
TestUndumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…