(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func 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 | |
| 18 | func TestCloneForRuntimeDeepCopiesConfig(t *testing.T) { |
| 19 | cfg := sampleCloneRuntimeConfig() |
nothing calls this directly
no test coverage detected