So the tests have always failed on my machine because this package's stack trace format is not the same as debug.Stack()'s format. I don't know if the format used by debug.Stack() has changed in some go version and that's why the tests are failing. I also don't know if having the same format as debug.Stack() is a design goal or even desirable.
I know that I prefer this package's stack trace format over debug.Stack() since it puts more emphasis on the file and line number which is what I use the most when dealing with stack traces.
So the tests have always failed on my machine because this package's stack trace format is not the same as
debug.Stack()
's format. I don't know if the format used bydebug.Stack()
has changed in some go version and that's why the tests are failing. I also don't know if having the same format asdebug.Stack()
is a design goal or even desirable.I know that I prefer this package's stack trace format over
debug.Stack()
since it puts more emphasis on the file and line number which is what I use the most when dealing with stack traces.