Skip to content

Commit bf630ee

Browse files
committed
Revert some formatting
1 parent 0728d33 commit bf630ee

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,8 +1074,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
10741074
ParametrizedTestSource.DO_NOT_PARAMETRIZE ->
10751075
currentBlock = currentBlock.addAll(generateDeepEqualsAssertion(expected, actual))
10761076
ParametrizedTestSource.PARAMETRIZE -> {
1077-
val assertNullStmt =
1078-
listOf(testFrameworkManager.assertions[testFramework.assertNull](actual).toStatement())
1077+
val assertNullStmt = listOf(testFrameworkManager.assertions[testFramework.assertNull](actual).toStatement())
10791078
currentBlock = currentBlock.add(
10801079
CgIfStatement(
10811080
CgEqualTo(expected, nullLiteral()),
@@ -1201,7 +1200,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
12011200
it.variableName,
12021201
// guard initializer to reuse typecast creation logic
12031202
initializer = guardExpression(varType, nullLiteral()).expression,
1204-
isMutable = true
1203+
isMutable = true,
12051204
)
12061205
}
12071206
+tryWithMocksFinallyClosing
@@ -1683,10 +1682,7 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
16831682
val pureJvmReportPath = jvmReportPath.substringAfter("# ")
16841683

16851684
// \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"
16901686
}
16911687

16921688
private fun UtConcreteExecutionFailure.extractJvmReportPathOrNull(): String? =

0 commit comments

Comments
 (0)