We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40579a commit 0bbb666Copy full SHA for 0bbb666
src/cmd/go/go_test.go
@@ -4474,6 +4474,7 @@ func TestBuildmodePIE(t *testing.T) {
4474
if err != nil {
4475
t.Fatal(err)
4476
}
4477
+ defer f.Close()
4478
if f.Type != elf.ET_DYN {
4479
t.Errorf("PIE type must be ET_DYN, but %s", f.Type)
4480
@@ -4482,6 +4483,7 @@ func TestBuildmodePIE(t *testing.T) {
4482
4483
4484
4485
4486
4487
if f.Flags&macho.FlagDyldLink == 0 {
4488
t.Error("PIE must have DyldLink flag, but not")
4489
0 commit comments