Skip to content

Commit

Permalink
test(go): Use a more speaking name for a test project dir
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Nov 1, 2023
1 parent caecbea commit 1c63cdf
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ import org.ossreviewtoolkit.utils.test.matchExpectedResult
class GoModFunTest : StringSpec({

Check warning on line 35 in plugins/package-managers/go/src/funTest/kotlin/GoModFunTest.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Unused symbol

Class "GoModFunTest" is never used
val testDir = getAssetFile("projects/synthetic/gomod")

"Project dependencies are detected correctly" {
val definitionFile = testDir.resolve("gomod/go.mod")
val expectedResultFile = testDir.resolve("gomod-expected-output.yml")
"Project dependencies are detected correctly given a project with test dependencies" {
val definitionFile = testDir.resolve("project-with-tests/go.mod")
val expectedResultFile = testDir.resolve("project-with-tests-expected-output.yml")

val result = create("GoMod").resolveSingleProject(definitionFile)

Expand Down

0 comments on commit 1c63cdf

Please sign in to comment.