Skip to content

Commit

Permalink
Fix linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fergus Strange committed Dec 7, 2019
1 parent fa5ea1f commit 825170e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prepare_database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ func Test_defaultInitDatabase_ErrorWhenCannotCreatePasswordFile(t *testing.T) {

func Test_defaultInitDatabase_ErrorWhenCannotStartInitDBProcess(t *testing.T) {
tempDir, err := ioutil.TempDir("", "prepare_database_test")
if err != nil {
panic(err)
}
defer func() {
if err := os.RemoveAll(tempDir); err != nil {
panic(err)
Expand Down

0 comments on commit 825170e

Please sign in to comment.