mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
docs: update schema name to 2.3 (#1416)
This commit is contained in:
parent
7b08608adb
commit
c8b8b1ca11
2 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue