mirror of
https://github.com/minio/minio.git
synced 2025-02-25 12:29:15 -05:00
Merge pull request #362 from fkautz/pr_out_updating_check_v1
This commit is contained in:
commit
029e49a7d2
2
Godeps/_workspace/src/gopkg.in/check.v1/benchmark_test.go
generated
vendored
2
Godeps/_workspace/src/gopkg.in/check.v1/benchmark_test.go
generated
vendored
@ -3,8 +3,8 @@
|
|||||||
package check_test
|
package check_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
|
||||||
. "gopkg.in/check.v1"
|
. "gopkg.in/check.v1"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var benchmarkS = Suite(&BenchmarkS{})
|
var benchmarkS = Suite(&BenchmarkS{})
|
||||||
|
17
Godeps/_workspace/src/gopkg.in/check.v1/printer_test.go
generated
vendored
17
Godeps/_workspace/src/gopkg.in/check.v1/printer_test.go
generated
vendored
@ -24,22 +24,27 @@ func printTestFunc() {
|
|||||||
println(3) // Comment3
|
println(3) // Comment3
|
||||||
}
|
}
|
||||||
switch 5 {
|
switch 5 {
|
||||||
case 6: println(6) // Comment6
|
case 6:
|
||||||
|
println(6) // Comment6
|
||||||
println(7)
|
println(7)
|
||||||
}
|
}
|
||||||
switch interface{}(9).(type) {// Comment9
|
switch interface{}(9).(type) { // Comment9
|
||||||
case int: println(10)
|
case int:
|
||||||
|
println(10)
|
||||||
println(11)
|
println(11)
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
case <-(chan bool)(nil): println(14)
|
case <-(chan bool)(nil):
|
||||||
|
println(14)
|
||||||
println(15)
|
println(15)
|
||||||
default: println(16)
|
default:
|
||||||
|
println(16)
|
||||||
println(17)
|
println(17)
|
||||||
}
|
}
|
||||||
println(19,
|
println(19,
|
||||||
20)
|
20)
|
||||||
_ = func() { println(21)
|
_ = func() {
|
||||||
|
println(21)
|
||||||
println(22)
|
println(22)
|
||||||
}
|
}
|
||||||
println(24, func() {
|
println(24, func() {
|
||||||
|
4
Godeps/_workspace/src/gopkg.in/check.v1/run_test.go
generated
vendored
4
Godeps/_workspace/src/gopkg.in/check.v1/run_test.go
generated
vendored
@ -400,7 +400,7 @@ func (s *RunS) TestStreamModeWithMiss(c *C) {
|
|||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
// Verify that that the keep work dir request indeed does so.
|
// Verify that that the keep work dir request indeed does so.
|
||||||
|
|
||||||
type WorkDirSuite struct {}
|
type WorkDirSuite struct{}
|
||||||
|
|
||||||
func (s *WorkDirSuite) Test(c *C) {
|
func (s *WorkDirSuite) Test(c *C) {
|
||||||
c.MkDir()
|
c.MkDir()
|
||||||
@ -411,7 +411,7 @@ func (s *RunS) TestKeepWorkDir(c *C) {
|
|||||||
runConf := RunConf{Output: &output, Verbose: true, KeepWorkDir: true}
|
runConf := RunConf{Output: &output, Verbose: true, KeepWorkDir: true}
|
||||||
result := Run(&WorkDirSuite{}, &runConf)
|
result := Run(&WorkDirSuite{}, &runConf)
|
||||||
|
|
||||||
c.Assert(result.String(), Matches, ".*\nWORK=" + result.WorkDir)
|
c.Assert(result.String(), Matches, ".*\nWORK="+result.WorkDir)
|
||||||
|
|
||||||
stat, err := os.Stat(result.WorkDir)
|
stat, err := os.Stat(result.WorkDir)
|
||||||
c.Assert(err, IsNil)
|
c.Assert(err, IsNil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user