Skip to content

Commit

Permalink
style(PackageManagerTest): Fix a typo in a variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
  • Loading branch information
oheger-bosch committed Feb 7, 2023
1 parent ea1577c commit ebfdb80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzer/src/test/kotlin/PackageManagerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import org.ossreviewtoolkit.model.VcsType
import org.ossreviewtoolkit.utils.test.createSpecTempDir

class PackageManagerTest : WordSpec({
val definitonFiles = listOf(
val definitionFiles = listOf(
"bower/bower.json",
"bundler/Gemfile",
"cargo/Cargo.toml",
Expand Down Expand Up @@ -71,7 +71,7 @@ class PackageManagerTest : WordSpec({
val projectDir = createSpecTempDir()

beforeSpec {
definitonFiles.forEach { file ->
definitionFiles.forEach { file ->
projectDir.resolve(file).also { dir ->
dir.parentFile.mkdirs()
}.writeText("Dummy text to avoid the file to be empty, as empty files are skipped.")
Expand Down

0 comments on commit ebfdb80

Please sign in to comment.