diff --git a/builder/amazon/common/ami_config_test.go b/builder/amazon/common/ami_config_test.go index efc3584cc..beccb98a2 100644 --- a/builder/amazon/common/ami_config_test.go +++ b/builder/amazon/common/ami_config_test.go @@ -92,7 +92,7 @@ func TestAMINameValidation(t *testing.T) { t.Fatal("shouldn't be able to have an ami name with great than 128 characters") } - c.AMIName = "+" + c.AMIName = "+aaa" if err := c.Prepare(nil); err == nil { t.Fatal("shouldn't be able to have an ami name with invalid characters") }