spelling: hyphen
This commit is contained in:
parent
24b4c36fc9
commit
210f8e8312
|
@ -235,7 +235,7 @@ func TestAdditionalDiskArtifactProperties(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestArtifactOverHypenatedCaptureUri(t *testing.T) {
|
||||
func TestArtifactOverHyphenatedCaptureUri(t *testing.T) {
|
||||
template := CaptureTemplate{
|
||||
Resources: []CaptureResources{
|
||||
{
|
||||
|
|
|
@ -499,7 +499,7 @@ func TestConfigShouldRejectMalformedCaptureNamePrefix(t *testing.T) {
|
|||
wellFormedCaptureNamePrefix := []string{
|
||||
"packer",
|
||||
"AbcdefghijklmnopqrstuvwX",
|
||||
"hypen-hypen",
|
||||
"hyphen-hyphen",
|
||||
"0leading-number",
|
||||
"v1.core.local",
|
||||
}
|
||||
|
@ -514,8 +514,8 @@ func TestConfigShouldRejectMalformedCaptureNamePrefix(t *testing.T) {
|
|||
}
|
||||
|
||||
malformedCaptureNamePrefix := []string{
|
||||
"-leading-hypen",
|
||||
"trailing-hypen-",
|
||||
"-leading-hyphen",
|
||||
"trailing-hyphen-",
|
||||
"trailing-period.",
|
||||
"_leading-underscore",
|
||||
"punc-!@#$%^&*()_+-=-punc",
|
||||
|
@ -550,7 +550,7 @@ func TestConfigShouldRejectMalformedCaptureContainerName(t *testing.T) {
|
|||
wellFormedCaptureContainerName := []string{
|
||||
"0leading",
|
||||
"aleading",
|
||||
"hype-hypen",
|
||||
"hype-hyphen",
|
||||
"abcdefghijklmnopqrstuvwxyz0123456789-abcdefghijklmnopqrstuvwxyz", // 63 characters
|
||||
}
|
||||
|
||||
|
@ -565,9 +565,9 @@ func TestConfigShouldRejectMalformedCaptureContainerName(t *testing.T) {
|
|||
|
||||
malformedCaptureContainerName := []string{
|
||||
"No-Capitals",
|
||||
"double--hypens",
|
||||
"-leading-hypen",
|
||||
"trailing-hypen-",
|
||||
"double--hyphens",
|
||||
"-leading-hyphen",
|
||||
"trailing-hyphen-",
|
||||
"punc-!@#$%^&*()_+-=-punc",
|
||||
"there-are-over-63-characters-in-this-string-and-that-is-a-bad-container-name",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue