tests: removing of dlvbin is not needed (#3875)

This commit is contained in:
Oleksandr Redko
2024-12-09 18:51:13 +02:00
committed by GitHub
parent 477e46ebbd
commit 84c99e508c
2 changed files with 0 additions and 3 deletions

View File

@ -60,7 +60,6 @@ func TestBuild(t *testing.T) {
const listenAddr = "127.0.0.1:40573"
dlvbin := protest.GetDlvBinary(t)
defer os.Remove(dlvbin)
fixtures := protest.FindFixturesDir()
@ -1421,7 +1420,6 @@ func TestUnixDomainSocket(t *testing.T) {
listenPath := filepath.Join(tmpdir, "delve_test")
dlvbin := protest.GetDlvBinary(t)
defer os.Remove(dlvbin)
fixtures := protest.FindFixturesDir()

View File

@ -3169,7 +3169,6 @@ func TestGuessSubstitutePath(t *testing.T) {
defer os.Setenv("GOFLAGS", oldgoflags)
dlvbin := protest.GetDlvBinary(t)
defer os.Remove(dlvbin)
listener, clientConn := service.ListenerPipe()
defer listener.Close()