(t *testing.T)
| 750 | } |
| 751 | |
| 752 | func TestPersistAsyncEarlyReturns(t *testing.T) { |
| 753 | var nilWatcher *Watcher |
| 754 | nilWatcher.persistConfigAsync() |
| 755 | nilWatcher.persistAuthAsync("msg", "a") |
| 756 | |
| 757 | w := &Watcher{} |
| 758 | w.persistConfigAsync() |
| 759 | w.persistAuthAsync("msg", " ", "") |
| 760 | } |
| 761 | |
| 762 | type errorPersister struct { |
| 763 | configCalls int32 |
nothing calls this directly
no test coverage detected