()
| 77 | } |
| 78 | |
| 79 | func newDefaultDiffConfigMock() *diffConfigMock { |
| 80 | c := &diffConfigMock{ |
| 81 | MyInt: 666, |
| 82 | MyFloat: 6.66, |
| 83 | MySlice: []string{"value1", "value2"}, |
| 84 | IgnoredField: func() error { return nil }, |
| 85 | } |
| 86 | c.MyNestedStruct.MyString = "string1" |
| 87 | return c |
| 88 | } |
| 89 | |
| 90 | func TestConfigDiffHandler(t *testing.T) { |
| 91 | for _, tc := range []struct { |
no outgoing calls
no test coverage detected