dwarf/line: fix TestDebugLinePrologueParser test for Go 1.14 (#1891)
Go 1.14 has more fake file names, apparently (also go fmt).
This commit is contained in:
parent
7560c33819
commit
14733084a8
@ -114,7 +114,7 @@ func testDebugLinePrologueParser(p string, t *testing.T) {
|
||||
}
|
||||
|
||||
for _, ln := range dbl.Lookup {
|
||||
if ln.Path == "<autogenerated>" {
|
||||
if ln.Path == "<autogenerated>" || strings.HasPrefix(ln.Path, "<missing>_") || ln.Path == "_gomod_.go" {
|
||||
continue
|
||||
}
|
||||
if _, err := os.Stat(ln.Path); err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user