Skip to content

Commit

Permalink
remove dump
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlon Pina Tojal committed Nov 3, 2023
1 parent 41f18ca commit c322371
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions merge/merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package merge
import (
"encoding/xml"
"fmt"
"os"
"testing"

"github.com/fnxpt/cyclonedx-merge/utils"
Expand Down Expand Up @@ -176,9 +175,6 @@ func TestMergeTwoSBOM(t *testing.T) {
MergeSBOM(sbom, &firstObject)
MergeSBOM(sbom, &secondObject)

encoder := cyclonedx.NewBOMEncoder(os.Stdout, cyclonedx.BOMFileFormatJSON)
encoder.Encode(sbom)

assert.NotNil(t, sbom)
assert.Equal(t, "root", sbom.Metadata.Component.BOMRef)
assert.Equal(t, "root", sbom.Metadata.Component.Name)
Expand Down

0 comments on commit c322371

Please sign in to comment.