mirror of
https://github.com/minio/minio.git
synced 2025-12-01 13:52:34 -05:00
use package name correctly (#5827)
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
router "github.com/gorilla/mux"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
type ArithArgs struct {
|
||||
@@ -49,10 +49,10 @@ func TestGoHTTPRPC(t *testing.T) {
|
||||
AuthRPCServer: AuthRPCServer{},
|
||||
})
|
||||
|
||||
mux := router.NewRouter().SkipClean(true)
|
||||
mux.Path("/foo").Handler(newServer)
|
||||
router := mux.NewRouter().SkipClean(true)
|
||||
router.Path("/foo").Handler(newServer)
|
||||
|
||||
httpServer := httptest.NewServer(mux)
|
||||
httpServer := httptest.NewServer(router)
|
||||
defer httpServer.Close()
|
||||
|
||||
rootPath, err := newTestConfig("us-east-1")
|
||||
|
||||
Reference in New Issue
Block a user