channeldb: fix warnings found by go vet
This commit is contained in:
4 files changed
+4
-6
No files matched your search
@@ -12,7 +12,7 @@ func TestOpenWithCreate(t *testing.T) {
|
||||
// this test.
|
||||
tempDirName, err := ioutil.TempDir("", "channeldb")
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create temp dir: %v")
|
||||
t.Fatalf("unable to create temp dir: %v", err)
|
||||
}
|
||||
defer os.RemoveAll(tempDirName)
|
||||
|
||||
|
||||
Reference in new issue
Block a user