diff options
Diffstat (limited to 'internal/app/siftool/modif_test.go')
-rw-r--r-- | internal/app/siftool/modif_test.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/internal/app/siftool/modif_test.go b/internal/app/siftool/modif_test.go index 98a3351..c4a73b3 100644 --- a/internal/app/siftool/modif_test.go +++ b/internal/app/siftool/modif_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2021, Sylabs Inc. All rights reserved. +// Copyright (c) 2021-2022, Sylabs Inc. All rights reserved. // This software is licensed under a 3-clause BSD license. Please consult the // LICENSE file distributed with the sources of this project regarding your // rights to use or distribute this software. @@ -73,6 +73,14 @@ func TestApp_Add(t *testing.T) { sif.OptCryptoMessageMetadata(sif.FormatOpenPGP, sif.MessageClearSignature), }, }, + { + name: "SBOM", + data: []byte{0xde, 0xad, 0xbe, 0xef}, + dataType: sif.DataSBOM, + opts: []sif.DescriptorInputOpt{ + sif.OptSBOMMetadata(sif.SBOMFormatCycloneDXJSON), + }, + }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { |