You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above link directs to the line to blame. This will remove the absolute path info retrieved from runtime.Caller(i).
parts := strings.Split(file, "/")
file = parts[len(parts)-1]
Reproduce:
set workdir before test start
call assert.True(t, false)
The text was updated successfully, but these errors were encountered:
yishangru
changed the title
[ISSUE] assertions.go: CallerInfo() Not Get Actual File Path When Workdir
[BUG] assertions.go: CallerInfo() Not Get Actual File Path When Workdir
Sep 20, 2022
yishangru
changed the title
[BUG] assertions.go: CallerInfo() Not Get Actual File Path When Workdir
[BUG] assertions.go: CallerInfo() Not Get Actual File Path When Workdir Changed
Sep 20, 2022
testify/assert/assertions.go
Line 144 in 181cea6
Above link directs to the line to blame. This will remove the absolute path info retrieved from
runtime.Caller(i)
.Reproduce:
The text was updated successfully, but these errors were encountered: