mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
docs: update schema name to 2.3 (#1416)
This commit is contained in:
parent
7b08608adb
commit
c8b8b1ca11
@ -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…
x
Reference in New Issue
Block a user