(tb testing.TB)
| 266 | } |
| 267 | |
| 268 | func newMockFs(tb testing.TB) *mockFs { |
| 269 | tb.Helper() |
| 270 | |
| 271 | mock := new(mockFs) |
| 272 | mock.Test(tb) |
| 273 | |
| 274 | tb.Cleanup(func() { mock.AssertExpectations(tb) }) |
| 275 | |
| 276 | return mock |
| 277 | } |
| 278 | |
| 279 | var ( |
| 280 | _ os.FileInfo = new(mockFileInfo) |
no outgoing calls
no test coverage detected
searching dependent graphs…