Skip to content

Commit

Permalink
add test + list required for frogbot pr
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Sep 15, 2024
1 parent ab526a0 commit 5e4153f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 2 additions & 0 deletions utils/techutils/techutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const (
)
const Pypi = "pypi"

var AllTechnologiesStrings = []string{Maven.String(), Gradle.String(), Npm.String(), Pnpm.String(), Yarn.String(), Go.String(), Pip.String(), Pipenv.String(), Poetry.String(), Nuget.String(), Dotnet.String(), Docker.String(), Oci.String(), Conan.String()}

type CodeLanguage string

const (
Expand Down
11 changes: 0 additions & 11 deletions utils/techutils/techutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,17 +531,6 @@ func TestGetTechInformationFromWorkingDir(t *testing.T) {
"dir4": {filepath.Join("dir4", "package.json")},
},
},
{
name: "pnpmTestWithProvidedTechFromUser",
tech: Pnpm,
requestedDescriptors: make(map[Technology][]string),
techProvidedByUser: true,
expected: map[string][]string{
filepath.Join("dir3", "dir"): {filepath.Join("dir3", "dir", "package.json")},
"dir": {filepath.Join("dir", "package.json")},
"dir4": {filepath.Join("dir4", "package.json")},
},
},
}

for _, test := range tests {
Expand Down

0 comments on commit 5e4153f

Please sign in to comment.