You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
minio/pkg/http/server_test.go

19 lines
323 B

package http
import (
. "gopkg.in/check.v1"
"testing"
)
type MySuite struct{}
var _ = Suite(&MySuite{})
func Test(t *testing.T) { TestingT(t) }
func (s *MySuite) TestHTTP(c *C) {
server := NewServer()
err := server.Listen("localhost:7000")
c.Assert(err, IsNil)
c.Assert(server.GetlistenURL(), Not(Equals), "")
}