(t testing.TB, w config.Wrapper, to config.Configuration)
| 301 | } |
| 302 | |
| 303 | func replace(t testing.TB, w config.Wrapper, to config.Configuration) { |
| 304 | t.Helper() |
| 305 | waiter, err := w.Modify(func(cfg *config.Configuration) { |
| 306 | *cfg = to |
| 307 | }) |
| 308 | if err != nil { |
| 309 | t.Fatal(err) |
| 310 | } |
| 311 | waiter.Wait() |
| 312 | } |
| 313 | |
| 314 | func pauseFolder(t testing.TB, w config.Wrapper, id string, paused bool) { |
| 315 | t.Helper() |
no test coverage detected