Skip to content

Commit ecdd2b1

Browse files
committed
Fixes test case for github build
1 parent 93af2ed commit ecdd2b1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/filesystem_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func TestFileSystem_AbsoluteSearchPath(t *testing.T) {
8888
fs: afero.NewMemMapFs(),
8989
SearchPath: ".",
9090
}
91-
assert.Contains(t, fs.AbsoluteSearchPath(), "/code/lucha/lib")
91+
assert.Contains(t, fs.AbsoluteSearchPath(), "/lucha/lib")
9292
}
9393

9494
func Test_shouldIgnoreDir(t *testing.T) {

lucha-sbom.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"bomFormat": "CycloneDX",
33
"specVersion": "1.2",
4-
"serialNumber": "urn:uuid:a0aebdfb-cab4-4781-8cd7-b8ea9443b478",
4+
"serialNumber": "urn:uuid:47dac047-42ee-4302-9524-cfdda03d092f",
55
"version": 1,
66
"metadata": {
7-
"timestamp": "2021-07-12T09:23:36-06:00",
7+
"timestamp": "2021-07-12T12:21:46-06:00",
88
"tools": [
99
{
1010
"vendor": "CycloneDX",
@@ -31,11 +31,11 @@
3131
}
3232
],
3333
"component": {
34-
"bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730",
34+
"bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712092326-93af2ed6aa54",
3535
"type": "application",
3636
"name": "github.com/devops-kung-fu/lucha",
37-
"version": "v0.0.0-20210712090707-16181f5fb730",
38-
"purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730",
37+
"version": "v0.0.0-20210712092326-93af2ed6aa54",
38+
"purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712092326-93af2ed6aa54",
3939
"externalReferences": [
4040
{
4141
"url": "https://github.com/devops-kung-fu/lucha",
@@ -520,7 +520,7 @@
520520
"ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0"
521521
},
522522
{
523-
"ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730",
523+
"ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712092326-93af2ed6aa54",
524524
"dependsOn": [
525525
"pkg:golang/github.com/briandowns/spinner@v1.16.0",
526526
"pkg:golang/github.com/dustin/go-humanize@v1.0.0",

0 commit comments

Comments
 (0)