(src *Config)
| 184 | } |
| 185 | |
| 186 | func testClone(src *Config) *Config { |
| 187 | yaml, err := src.ToYAML() |
| 188 | if err != nil { |
| 189 | panic(err) |
| 190 | } |
| 191 | dest := &Config{} |
| 192 | if err := dest.FromYAML(yaml); err != nil { |
| 193 | panic(err) |
| 194 | } |
| 195 | return dest |
| 196 | } |
no test coverage detected