Closed coadler closed 6 years ago
Error traces will need some more rethinking. I wasn't able to get rid of the references inside of hat
Example:
Error Trace: status.go:14
response.go:36
organizations_intg_test.go:444
organizations_intg_test.go:71
hat.go:50
Error: Not equal:
expected: 132
actual : 200
@ThyLeader thats fine imo because you get a complete stack trace so its easy to figure out the original call.
Good to merge after commits are squashed.
This pr allows
t.Log
s inRequestOption
s andResponseAssertion
s to show the line number of the test they are called from instead of an arbitrary line number from inside hat.Before
After