Searched refs:SetReadErr (Results 1 – 3 of 3) sorted by relevance
99 func SetReadErr(t *testing.T, path string, readErr error, filesystem *MockFs) { func100 err := filesystem.SetReadErr(path, readErr)
939 return m.SetReadErr(path, readErr)942 func (m *MockFs) SetReadErr(path string, readErr error) error { func
1581 fs.SetReadErr(t, "/tmp/a", os.ErrInvalid, filesystem)