docs: update schema name to 2.3 (#1416)

This commit is contained in:
Christopher Angelo Phillips 2022-12-19 21:57:19 -05:00 committed by GitHub
parent 7b08608adb
commit c8b8b1ca11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -66,7 +66,7 @@ func TestSPDXJSONSchema(t *testing.T) {
}
func validateSpdxJsonAgainstSchema(t testing.TB, json string) {
fullSchemaPath := path.Join(repoRoot(t), spdxJsonSchemaPath, fmt.Sprintf("spdx-schema-2.2.json"))
fullSchemaPath := path.Join(repoRoot(t), spdxJsonSchemaPath, fmt.Sprintf("spdx-schema-2.3.json"))
schemaLoader := gojsonschema.NewReferenceLoader(fmt.Sprintf("file://%s", fullSchemaPath))
documentLoader := gojsonschema.NewStringLoader(json)