Files returned by WriteToNewTempFile are cleaned up automatically at the end of a test case execution. WriteToNewTempFile now relies on the TB.TempDir() function provided by the testing std package. TempFile returns a temporary file that can be used within a test case and is automatically removed at the end of the test execution. |
||
|---|---|---|
| .. | ||
| client | ||
| keeper | ||
| legacy/v036 | ||
| simulation | ||
| spec | ||
| types | ||
| doc.go | ||
| module.go | ||
| proposal_handler_test.go | ||
| proposal_handler.go | ||