(t *testing.T)
| 19 | ) |
| 20 | |
| 21 | func newTestWriteBack(t *testing.T) (wb *WriteBack, cancel func()) { |
| 22 | ctx, cancel := context.WithCancel(context.Background()) |
| 23 | opt := vfscommon.Opt |
| 24 | opt.WriteBack = fs.Duration(100 * time.Millisecond) |
| 25 | wb = New(ctx, &opt) |
| 26 | return wb, cancel |
| 27 | } |
| 28 | |
| 29 | // string for debugging - make a copy and pop the items out in order |
| 30 | func (wb *WriteBack) string(t *testing.T) string { |
no test coverage detected
searching dependent graphs…