aboutsummaryrefslogtreecommitdiff
path: root/tvsaver/saver2v1/save_creation_info_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tvsaver/saver2v1/save_creation_info_test.go')
-rw-r--r--tvsaver/saver2v1/save_creation_info_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tvsaver/saver2v1/save_creation_info_test.go b/tvsaver/saver2v1/save_creation_info_test.go
index 45db057..3b961ec 100644
--- a/tvsaver/saver2v1/save_creation_info_test.go
+++ b/tvsaver/saver2v1/save_creation_info_test.go
@@ -14,7 +14,7 @@ func TestSaver2_1CISavesText(t *testing.T) {
ci := &spdx.CreationInfo2_1{
SPDXVersion: "SPDX-2.1",
DataLicense: "CC0-1.0",
- SPDXIdentifier: "SPDXRef-DOCUMENT",
+ SPDXIdentifier: spdx.ElementID("DOCUMENT"),
DocumentName: "spdx-go-0.0.1.abcdef",
DocumentNamespace: "https://github.com/swinslow/spdx-docs/spdx-go/spdx-go-0.0.1.abcdef.whatever",
ExternalDocumentReferences: []string{
@@ -81,7 +81,7 @@ func TestSaver2_1CIOmitsOptionalFieldsIfEmpty(t *testing.T) {
ci1 := &spdx.CreationInfo2_1{
SPDXVersion: "SPDX-2.1",
DataLicense: "CC0-1.0",
- SPDXIdentifier: "SPDXRef-DOCUMENT",
+ SPDXIdentifier: spdx.ElementID("DOCUMENT"),
DocumentName: "spdx-go-0.0.1.abcdef",
DocumentNamespace: "https://github.com/swinslow/spdx-docs/spdx-go/spdx-go-0.0.1.abcdef.whatever",
CreatorPersons: []string{
@@ -118,7 +118,7 @@ Created: 2018-10-10T06:20:00Z
ci2 := &spdx.CreationInfo2_1{
SPDXVersion: "SPDX-2.1",
DataLicense: "CC0-1.0",
- SPDXIdentifier: "SPDXRef-DOCUMENT",
+ SPDXIdentifier: spdx.ElementID("DOCUMENT"),
DocumentName: "spdx-go-0.0.1.abcdef",
DocumentNamespace: "https://github.com/swinslow/spdx-docs/spdx-go/spdx-go-0.0.1.abcdef.whatever",
CreatorOrganizations: []string{