(t *testing.T)
| 124 | } |
| 125 | |
| 126 | func TestWithCAFile(t *testing.T) { |
| 127 | opt := &newOptionalArg{} |
| 128 | WithCAFile("/path/to/ca.pem")(opt) |
| 129 | assert.Equal(t, "/path/to/ca.pem", opt.caFilePath) |
| 130 | } |
| 131 | |
| 132 | func TestWithCAContent(t *testing.T) { |
| 133 | opt := &newOptionalArg{} |
nothing calls this directly
no test coverage detected