go fmt
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package controllers_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/astaxie/beego"
|
||||
_ "github.com/deluan/gosonic/conf"
|
||||
"github.com/deluan/gosonic/tests"
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"testing"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"github.com/astaxie/beego"
|
||||
"fmt"
|
||||
_ "github.com/deluan/gosonic/conf"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestErrorHandler(t *testing.T) {
|
||||
@@ -25,4 +25,4 @@ func TestErrorHandler(t *testing.T) {
|
||||
So(w.Code, ShouldEqual, 404)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,5 +11,3 @@ func (c *SyncController) Get() {
|
||||
scanner.StartImport()
|
||||
c.Ctx.WriteString("Import started. Check logs")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user