MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestPersistAsyncEarlyReturns

Function TestPersistAsyncEarlyReturns

internal/watcher/watcher_test.go:752–760  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

750}
751
752func 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
762type errorPersister struct {
763 configCalls int32

Callers

nothing calls this directly

Calls 2

persistConfigAsyncMethod · 0.95
persistAuthAsyncMethod · 0.95

Tested by

no test coverage detected