Test value of err variable

This commit is contained in:
Julian Kornberger 2018-01-13 16:49:37 +01:00
parent 37e798cd22
commit db213db621
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func TestStart(t *testing.T) {
conn, err = Connect(map[string]interface{}{ conn, err = Connect(map[string]interface{}{
"path": path, "path": path,
}) })
assert.NoError(err)
dat, _ := ioutil.ReadFile(path) dat, _ := ioutil.ReadFile(path)
assert.NotContains(string(dat), "InsertNode") assert.NotContains(string(dat), "InsertNode")