Test value of err variable
This commit is contained in:
parent
37e798cd22
commit
db213db621
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue