Add tests for minio top level

This commit is contained in:
Harshavardhana
2015-09-18 23:32:31 -07:00
parent ec0fdf95e5
commit 7d8cfa0a77
5 changed files with 66 additions and 20 deletions
+1 -8
View File
@@ -18,19 +18,12 @@ package main
import (
"net/http"
"testing"
"time"
. "gopkg.in/check.v1"
)
func Test(t *testing.T) { TestingT(t) }
type MySuite struct{}
var _ = Suite(&MySuite{})
func (s *MySuite) TestVersion(c *C) {
func (s *TestSuite) TestVersion(c *C) {
_, err := time.Parse(minioVersion, http.TimeFormat)
c.Assert(err, NotNil)
}