mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Add gometalinter (#36)
This commit is contained in:
parent
cacf5de3ec
commit
ee3162c34c
6 changed files with 32 additions and 15 deletions
|
|
@ -11,9 +11,7 @@ import (
|
|||
)
|
||||
|
||||
func testContext(t *testing.T, u *url.URL) *cli.Context {
|
||||
var err error
|
||||
|
||||
err = os.Setenv("DATABASE_URL", u.String())
|
||||
err := os.Setenv("DATABASE_URL", u.String())
|
||||
require.Nil(t, err)
|
||||
|
||||
app := NewApp()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue