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

Function TestCloneForRuntimeNil

internal/config/clone_test.go:11–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestCloneForRuntimeNil(t *testing.T) {
12 var cfg *Config
13 if got := cfg.CloneForRuntime(); got != nil {
14 t.Fatalf("CloneForRuntime() = %#v, want nil", got)
15 }
16}
17
18func TestCloneForRuntimeDeepCopiesConfig(t *testing.T) {
19 cfg := sampleCloneRuntimeConfig()

Callers

nothing calls this directly

Calls 1

CloneForRuntimeMethod · 0.95

Tested by

no test coverage detected