mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 03:56:24 +08:00
tests: removing of dlvbin is not needed (#3875)
This commit is contained in:
@ -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()
|
||||
|
||||
|
||||
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user