Skip to content

Commit

Permalink
add test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Wigmore committed Jan 12, 2023
1 parent 35f7474 commit d9bf774
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions sbom/sbom_format.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ var cyclonedxFormats map[string]sbom.FormatID = map[string]sbom.FormatID{
}

var spdxFormats map[string]sbom.FormatID = map[string]sbom.FormatID{
// "default": syft.SPDXJSONFormatID,
// "2.2": syft.SPDXJSONFormatID,
"default": spdx22.ID,
"2.2": spdx22.ID,
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function unit::run() {

testout=$(mktemp)
pushd "${BUILDPACKDIR}" > /dev/null
if go test ./... -v -run "Unit|Example" | tee "${testout}"; then
if go test ./... -v | tee "${testout}"; then
util::tools::tests::checkfocus "${testout}"
util::print::success "** GO Test Succeeded **"
else
Expand Down

0 comments on commit d9bf774

Please sign in to comment.