We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378b397 commit 5728fb4Copy full SHA for 5728fb4
utbot-framework-test/src/test/kotlin/org/utbot/sarif/SarifReportTest.kt
@@ -73,7 +73,7 @@ class SarifReportTest {
73
val report = sarifReportMain.createReport()
74
75
val result = report.runs.first().results.first()
76
- val location = result.locations.first().physicalLocation
+ val location = result.locations.filterIsInstance<SarifPhysicalLocationWrapper>().first().physicalLocation
77
val relatedLocation = result.relatedLocations.first().physicalLocation
78
79
assert(location.artifactLocation.uri.contains("Main.java"))
0 commit comments