@@ -1074,8 +1074,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
1074
1074
ParametrizedTestSource .DO_NOT_PARAMETRIZE ->
1075
1075
currentBlock = currentBlock.addAll(generateDeepEqualsAssertion(expected, actual))
1076
1076
ParametrizedTestSource .PARAMETRIZE -> {
1077
- val assertNullStmt =
1078
- listOf (testFrameworkManager.assertions[testFramework.assertNull](actual).toStatement())
1077
+ val assertNullStmt = listOf (testFrameworkManager.assertions[testFramework.assertNull](actual).toStatement())
1079
1078
currentBlock = currentBlock.add(
1080
1079
CgIfStatement (
1081
1080
CgEqualTo (expected, nullLiteral()),
@@ -1201,7 +1200,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
1201
1200
it.variableName,
1202
1201
// guard initializer to reuse typecast creation logic
1203
1202
initializer = guardExpression(varType, nullLiteral()).expression,
1204
- isMutable = true
1203
+ isMutable = true ,
1205
1204
)
1206
1205
}
1207
1206
+ tryWithMocksFinallyClosing
@@ -1683,10 +1682,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
1683
1682
val pureJvmReportPath = jvmReportPath.substringAfter(" # " )
1684
1683
1685
1684
// \n is here because IntellijIdea cannot process other separators
1686
- return PathUtil .toHtmlLinkTag(
1687
- PathUtil .replaceSeparator(pureJvmReportPath),
1688
- fileName = " JVM crash report"
1689
- ) + " \n "
1685
+ return PathUtil .toHtmlLinkTag(PathUtil .replaceSeparator(pureJvmReportPath), fileName = " JVM crash report" ) + " \n "
1690
1686
}
1691
1687
1692
1688
private fun UtConcreteExecutionFailure.extractJvmReportPathOrNull (): String? =
0 commit comments