MCPcopy Index your code
hub / github.com/yuin/gopher-lua / positionString

Function positionString

testutils_test.go:11–14  ·  view source on GitHub ↗
(level int)

Source from the content-addressed store, hash-verified

9)
10
11func positionString(level int) string {
12 _, file, line, _ := runtime.Caller(level + 1)
13 return fmt.Sprintf("%v:%v:", filepath.Base(file), line)
14}
15
16func errorIfNotEqual(t *testing.T, v1, v2 interface{}) {
17 if v1 != v2 {

Callers 8

errorIfNotEqualFunction · 0.85
errorIfFalseFunction · 0.85
errorIfNotNilFunction · 0.85
errorIfNilFunction · 0.85
errorIfScriptFailFunction · 0.85
errorIfGFuncFailFunction · 0.85
errorIfScriptNotFailFunction · 0.85
errorIfGFuncNotFailFunction · 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…