Skip to content

Commit

Permalink
Merge pull request #7 from bayashi/tiny-fix
Browse files Browse the repository at this point in the history
remove unnecessary condition. Just forgot to remove
  • Loading branch information
bayashi committed Dec 14, 2023
2 parents 0b1fd85 + c3ba158 commit a253b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Info() []string {
lastCaller = fmt.Sprintf("%s:%d", file, line)

if len(strings.Split(file, "/")) > 1 && // https://github.com/stretchr/testify/pull/402
!skipMyself(file) && !strings.Contains(file, "/actually") {
!skipMyself(file) {
callers = append(callers, lastCaller)
}

Expand Down

0 comments on commit a253b66

Please sign in to comment.