(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestConfigVersionFormatError(t *testing.T) { |
| 10 | err := &ConfigVersionFormatError{WrongVersion: "10"} |
| 11 | assert.Equal(t, "json: cannot unmarshal 10 into Go struct field Config.Version of type string and X.y format", err.Error()) |
| 12 | } |