Skip to content

Commit 84c99e5

Browse files
authored
tests: removing of dlvbin is not needed (#3875)
1 parent 477e46e commit 84c99e5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

‎cmd/dlv/dlv_test.go‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ func TestBuild(t *testing.T) {
6060
const listenAddr = "127.0.0.1:40573"
6161

6262
dlvbin := protest.GetDlvBinary(t)
63-
defer os.Remove(dlvbin)
6463

6564
fixtures := protest.FindFixturesDir()
6665

@@ -1421,7 +1420,6 @@ func TestUnixDomainSocket(t *testing.T) {
14211420
listenPath := filepath.Join(tmpdir, "delve_test")
14221421

14231422
dlvbin := protest.GetDlvBinary(t)
1424-
defer os.Remove(dlvbin)
14251423

14261424
fixtures := protest.FindFixturesDir()
14271425

‎service/test/integration2_test.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3169,7 +3169,6 @@ func TestGuessSubstitutePath(t *testing.T) {
31693169
defer os.Setenv("GOFLAGS", oldgoflags)
31703170

31713171
dlvbin := protest.GetDlvBinary(t)
3172-
defer os.Remove(dlvbin)
31733172

31743173
listener, clientConn := service.ListenerPipe()
31753174
defer listener.Close()

0 commit comments

Comments
 (0)