Remove the bottom of stacktraces attached by serrors, as this always a relatively uninteresting line in the runtime (currently, "runtime.goexit src/runtime/asm_amd64.s:1650").
For the serrors tests, strip the file/line number referring to the go test framework, to avoid false negatives when running tests with slightly different go SDK version.
Remove the bottom of stacktraces attached by serrors, as this always a relatively uninteresting line in the runtime (currently,
"runtime.goexit src/runtime/asm_amd64.s:1650"
).For the serrors tests, strip the file/line number referring to the go test framework, to avoid false negatives when running tests with slightly different go SDK version.
Fixes #4493.