Improved the test for special character so that it doesn't get halted by less than 3 character check

pull/4762/head
Craig Barr 9 years ago
parent 7911cfa94b
commit d9041bda0c

@ -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")
}

Loading…
Cancel
Save