Fixed lint + gofmt
the build failed
Details
the build failed
Details
This commit is contained in:
parent
d0202aea41
commit
ed38925489
|
@ -1,15 +1,16 @@
|
||||||
package models
|
package models
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-xorm/xorm"
|
|
||||||
"github.com/go-xorm/core"
|
|
||||||
"os"
|
|
||||||
"gopkg.in/testfixtures.v2"
|
|
||||||
"testing"
|
|
||||||
"path/filepath"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/go-xorm/core"
|
||||||
|
"github.com/go-xorm/xorm"
|
||||||
|
"gopkg.in/testfixtures.v2"
|
||||||
|
"os"
|
||||||
|
"path/filepath"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// MainTest creates the test engine
|
||||||
func MainTest(m *testing.M, pathToRoot string) {
|
func MainTest(m *testing.M, pathToRoot string) {
|
||||||
var err error
|
var err error
|
||||||
fixturesDir := filepath.Join(pathToRoot, "models")
|
fixturesDir := filepath.Join(pathToRoot, "models")
|
||||||
|
|
Loading…
Reference in New Issue