@@ -116,7 +116,7 @@ func TestInvalidTestcasesV0(t *testing.T) {
116116 ValidationError {
117117 "" ,
118118 "publiccodeYmlVersion" ,
119- "unsupported version: '1'. Supported versions: 0, 0.2, 0.2.0, 0.2.1, 0.2.2, 0.3, 0.3.0, 0.4, 0.4.0, 0.5.0, 0.5, 0.7.0, 0.7" ,
119+ "unsupported version: '1'. Supported versions: 0, 0.2, 0.2.0, 0.2.1, 0.2.2, 0.3, 0.3.0, 0.4, 0.4.0, 0.5.0, 0.5, 0.7.0, 0.7, 0.8.0, 0.8 " ,
120120 0 ,
121121 0 ,
122122 },
@@ -615,13 +615,16 @@ func TestValidWithWarningsTestcasesV0(t *testing.T) {
615615 ValidationWarning {"" , "description.en.genericName" , "This key is DEPRECATED and will be removed in the future. It's safe to drop it" , 23 , 5 },
616616 },
617617 "valid.minimal.v0.2.yml" : ValidationResults {
618- ValidationWarning {"" , "publiccodeYmlVersion" , "v0.2 is not the latest version, use '0'. Parsing this file as v0.7 ." , 1 , 1 },
618+ ValidationWarning {"" , "publiccodeYmlVersion" , "v0.2 is not the latest version, use '0'. Parsing this file as v0.8 ." , 1 , 1 },
619619 },
620620 "valid.minimal.v0.3.yml" : ValidationResults {
621- ValidationWarning {"" , "publiccodeYmlVersion" , "v0.3 is not the latest version, use '0'. Parsing this file as v0.7 ." , 1 , 1 },
621+ ValidationWarning {"" , "publiccodeYmlVersion" , "v0.3 is not the latest version, use '0'. Parsing this file as v0.8 ." , 1 , 1 },
622622 },
623623 "valid.minimal.v0.4.yml" : ValidationResults {
624- ValidationWarning {"" , "publiccodeYmlVersion" , "v0.4 is not the latest version, use '0'. Parsing this file as v0.7." , 1 , 1 },
624+ ValidationWarning {"" , "publiccodeYmlVersion" , "v0.4 is not the latest version, use '0'. Parsing this file as v0.8." , 1 , 1 },
625+ },
626+ "valid.minimal.v0.7.yml" : ValidationResults {
627+ ValidationWarning {"" , "publiccodeYmlVersion" , "v0.7 is not the latest version, use '0'. Parsing this file as v0.8." , 1 , 1 },
625628 },
626629 "valid.mime_types.yml" : ValidationResults {
627630 ValidationWarning {"" , "inputTypes" , "This key is DEPRECATED and will be removed in the future. It's safe to drop it" , 48 , 1 },
0 commit comments