Skip to content

Commit

Permalink
Test value of err variable
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Jan 13, 2018
1 parent 37e798c commit db213db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/logging/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit db213db

Please sign in to comment.