(c *C)
| 16 | var _ = Suite(&ProgressSuite{}) |
| 17 | |
| 18 | func (s *ProgressSuite) TestNewProgress(c *C) { |
| 19 | p := NewProgress(false) |
| 20 | c.Check(fmt.Sprintf("%T", p.worker), Equals, fmt.Sprintf("%T", &standardProgressWorker{})) |
| 21 | |
| 22 | p = NewProgress(true) |
| 23 | c.Check(fmt.Sprintf("%T", p.worker), Equals, fmt.Sprintf("%T", &loggerProgressWorker{})) |
| 24 | } |
nothing calls this directly
no test coverage detected