()
| 152 | type fakeEncodedObject struct{ plumbing.EncodedObject } |
| 153 | |
| 154 | func (fe fakeEncodedObject) Reader() (io.ReadCloser, error) { |
| 155 | return nil, errors.New("Simulate encoded object can't be read") |
| 156 | } |
| 157 | |
| 158 | func (s *TreeSuite) TestDir(c *C) { |
| 159 | vendor, err := s.Tree.dir("vendor") |
nothing calls this directly
no outgoing calls
no test coverage detected