mirror of
https://github.com/minio/mc.git
synced 2025-11-13 12:22:45 +03:00
quiet mode support for copy and sync
This commit is contained in:
committed by
Harshavardhana
parent
a2b8f053b0
commit
b35ab2f873
12
cmd_test.go
12
cmd_test.go
@@ -196,18 +196,6 @@ func (ta *testAddr) String() string {
|
||||
return "testAddr"
|
||||
}
|
||||
|
||||
func (s *CmdTestSuite) TestStatusBar(c *C) {
|
||||
/* TODO: Fix after finishing copyBar wrapper around progress bar.
|
||||
|
||||
bar := newCopyBar(globalQuietFlag)
|
||||
c.Assert(bar, Not(IsNil))
|
||||
c.Assert(bar.Units, Equals, pb.U_BYTES)
|
||||
c.Assert(bar.RefreshRate, Equals, time.Millisecond*10)
|
||||
c.Assert(bar.NotPrint, Equals, true)
|
||||
c.Assert(bar.ShowSpeed, Equals, true)
|
||||
*/
|
||||
}
|
||||
|
||||
func (s *CmdTestSuite) TestIsValidRetry(c *C) {
|
||||
opError := &net.OpError{
|
||||
Op: "read",
|
||||
|
||||
Reference in New Issue
Block a user