Improved the test for special character so that it doesn't get halted by less than 3 character check
This commit is contained in:
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…
Reference in New Issue