packer: Test to ensure the default config can parse
This commit is contained in:
parent
5f8330ecc2
commit
085533c17f
|
@ -17,6 +17,13 @@ func TestConfig_ParseConfig_Bad(t *testing.T) {
|
|||
assert.NotNil(err, "should have an error")
|
||||
}
|
||||
|
||||
func TestConfig_ParseConfig_DefaultConfig(t *testing.T) {
|
||||
assert := asserts.NewTestingAsserts(t, true)
|
||||
|
||||
_, err := parseConfig(defaultConfig)
|
||||
assert.Nil(err, "should be able to parse the default config")
|
||||
}
|
||||
|
||||
func TestConfig_ParseConfig_Good(t *testing.T) {
|
||||
assert := asserts.NewTestingAsserts(t, true)
|
||||
|
||||
|
|
Loading…
Reference in New Issue