TODO Test and potentially remove manual clean-up when go version >= 1.20.0 cleanUpTemp is a temporary solution for windows to https://github.com/golang/go/issues/51442.
(tempDir string)
| 63 | // TODO Test and potentially remove manual clean-up when go version >= 1.20.0 |
| 64 | // cleanUpTemp is a temporary solution for windows to https://github.com/golang/go/issues/51442. |
| 65 | func cleanUpTemp(tempDir string) { |
| 66 | err := errors.New("init not nil") |
| 67 | for err != nil { |
| 68 | time.Sleep(time.Millisecond * 10) |
| 69 | err = os.RemoveAll(tempDir) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | func TestBuildPackage_VerboseOutput(t *testing.T) { |
| 74 | basePath := setupForArchive(t) |
no outgoing calls
no test coverage detected