From db213db6218426e4b087dc7745b9a66d4732096d Mon Sep 17 00:00:00 2001 From: Julian Kornberger Date: Sat, 13 Jan 2018 16:49:37 +0100 Subject: [PATCH] Test value of err variable --- database/logging/file_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/database/logging/file_test.go b/database/logging/file_test.go index 13c0408..50b59ac 100644 --- a/database/logging/file_test.go +++ b/database/logging/file_test.go @@ -25,6 +25,7 @@ func TestStart(t *testing.T) { conn, err = Connect(map[string]interface{}{ "path": path, }) + assert.NoError(err) dat, _ := ioutil.ReadFile(path) assert.NotContains(string(dat), "InsertNode")