Closed samyfodil closed 1 month ago
Made these changes and testing that everything works. If all goes well, I'll submit a pull request soon.
Talk about embarrassing! My apologies. Someone else can have a go ✋
@jjjclarke your PR https://github.com/taubyte/tau/pull/234 is almost there. TempDir takes no argument and returns one. check https://pkg.go.dev/testing#B.TempDir
Changes have been made (and tested this time) and pull request has been updated.
merged. thanks @jjjclarke
Some test create temporary folders. Example: https://github.com/taubyte/tau/blob/2224d3f23b7689c81f0aec961e17ca5ffc85df7e/p2p/peer/pebble_peer_test.go#L14
Use t.TempDir() instead.