We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
input
outputDir
1 parent f9bab98 commit 8685b5dCopy full SHA for 8685b5d
1 file changed
plugins/reporters/spdx/src/funTest/kotlin/SpdxDocumentReporterFunTest.kt
@@ -132,10 +132,6 @@ private fun TestConfiguration.generateReport(
132
spdxVersion: String,
133
fileInformationEnabled: Boolean = true
134
): String {
135
- val input = ReporterInput(ortResult)
136
-
137
- val outputDir = tempdir()
138
139
val config = SpdxDocumentReporterConfig(
140
spdxVersion = spdxVersion,
141
creationInfoComment = "some creation info comment",
@@ -148,7 +144,7 @@ private fun TestConfiguration.generateReport(
148
144
)
149
145
150
146
return SpdxDocumentReporter(config = config)
151
- .generateReport(input, outputDir)
147
+ .generateReport(input = ReporterInput(ortResult), outputDir = tempdir())
152
.single()
153
.getOrThrow()
154
.readText()
0 commit comments