parent
1c5454e007
commit
7093a05ab1
@ -1,7 +1,7 @@ |
|||||||
// -------- DO NOT EDIT --------
|
// -------- DO NOT EDIT --------
|
||||||
// This file is autogenerated by genversion.go during the release process.
|
// This file is autogenerated by genversion.go during the release process.
|
||||||
|
|
||||||
package main |
package version |
||||||
|
|
||||||
// Version autogenerated
|
// Version autogenerated
|
||||||
const Version = "2015-08-14T03:23:47.250240049Z" |
const Version = "2015-08-14T03:23:47.250240049Z" |
@ -0,0 +1,37 @@ |
|||||||
|
/* |
||||||
|
* Minio Cloud Storage, (C) 2015 Minio, Inc. |
||||||
|
* |
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
* you may not use this file except in compliance with the License. |
||||||
|
* You may obtain a copy of the License at |
||||||
|
* |
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
* |
||||||
|
* Unless required by applicable law or agreed to in writing, software |
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
* See the License for the specific language governing permissions and |
||||||
|
* limitations under the License. |
||||||
|
*/ |
||||||
|
|
||||||
|
package version_test |
||||||
|
|
||||||
|
import ( |
||||||
|
"testing" |
||||||
|
"time" |
||||||
|
|
||||||
|
"github.com/minio/minio/pkg/version" |
||||||
|
|
||||||
|
. "gopkg.in/check.v1" |
||||||
|
) |
||||||
|
|
||||||
|
func Test(t *testing.T) { TestingT(t) } |
||||||
|
|
||||||
|
type MySuite struct{} |
||||||
|
|
||||||
|
var _ = Suite(&MySuite{}) |
||||||
|
|
||||||
|
func (s *MySuite) TestVersion(c *C) { |
||||||
|
_, err := time.Parse(version.Version, time.RFC3339Nano) |
||||||
|
c.Assert(err, NotNil) |
||||||
|
} |
Loading…
Reference in new issue