aboutsummaryrefslogtreecommitdiff
path: root/tvloader/parser2v1/parse_creation_info_test.go
diff options
context:
space:
mode:
authorSteve Winslow <steve@swinslow.net>2020-11-11 12:38:07 -0500
committerGitHub <noreply@github.com>2020-11-11 12:38:07 -0500
commit4ca6cd1fc37977db1969fcfdfa33dabbb2588010 (patch)
tree5d0d110da61267d40901c7172c8fb8e7f41bbf7d /tvloader/parser2v1/parse_creation_info_test.go
parent4e07f1763686c4fc992cff2a18ff9ebd32ccd47f (diff)
parentae78e67710eece172cc8990ced41688777cf4e1e (diff)
downloadspdx-tools-4ca6cd1fc37977db1969fcfdfa33dabbb2588010.tar.gz
Merge pull request #43 from swinslow/issue-38
Fix tvloader storing incorrect doc ID
Diffstat (limited to 'tvloader/parser2v1/parse_creation_info_test.go')
-rw-r--r--tvloader/parser2v1/parse_creation_info_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvloader/parser2v1/parse_creation_info_test.go b/tvloader/parser2v1/parse_creation_info_test.go
index c8741de..2a8c094 100644
--- a/tvloader/parser2v1/parse_creation_info_test.go
+++ b/tvloader/parser2v1/parse_creation_info_test.go
@@ -217,7 +217,7 @@ func TestParser2_1CanParseCreationInfoTags(t *testing.T) {
if err != nil {
t.Errorf("expected nil error, got %v", err)
}
- if parser.doc.CreationInfo.SPDXIdentifier != "SPDXRef-DOCUMENT" {
+ if parser.doc.CreationInfo.SPDXIdentifier != "DOCUMENT" {
t.Errorf("got %v for SPDXIdentifier", parser.doc.CreationInfo.SPDXIdentifier)
}