File tree 2 files changed +3
-3
lines changed
utbot-summary/src/main/kotlin/org/utbot/summary/comment
utbot-summary-tests/src/test/kotlin/examples/structures
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,15 @@ class SummaryMinStackTest : SummaryTestCaseGeneratorTest(
130
130
val summary7 = " @utbot.classUnderTest {@link MinStack}\n " +
131
131
" @utbot.methodUnderTest {@link org.utbot.examples.structures.MinStack#addValue(long)}\n " +
132
132
" @utbot.executesCondition {@code (size == 0): False}\n " +
133
- " @utbot.invokes {@code {@ link java.lang.Math#min(long,long)} }\n " +
133
+ " @utbot.invokes {@link java.lang.Math#min(long,long)}\n " +
134
134
" @utbot.throwsException {@link java.lang.ArrayIndexOutOfBoundsException} in: minStack[size] = Math.min(minStack[size - 1], value);"
135
135
val summary8 = " @utbot.classUnderTest {@link MinStack}\n " +
136
136
" @utbot.methodUnderTest {@link org.utbot.examples.structures.MinStack#addValue(long)}\n " +
137
137
" @utbot.executesCondition {@code (size == 0): True}\n "
138
138
val summary9 = " @utbot.classUnderTest {@link MinStack}\n " +
139
139
" @utbot.methodUnderTest {@link org.utbot.examples.structures.MinStack#addValue(long)}\n " +
140
140
" @utbot.executesCondition {@code (size == 0): False}\n " +
141
- " @utbot.invokes {@code {@ link java.lang.Math#min(long,long)} }\n "
141
+ " @utbot.invokes {@link java.lang.Math#min(long,long)}\n "
142
142
143
143
val methodName1 = " testAddValue_ThrowArrayIndexOutOfBoundsException"
144
144
val methodName2 = " testAddValue_ThrowNullPointerException"
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class CustomJavaDocCommentBuilder(
84
84
comment : CustomJavaDocComment
85
85
) {
86
86
when (statement.stmtType) {
87
- StmtType .Invoke -> comment.invokes + = " {@code ${ statement.description.replace(CARRIAGE_RETURN , " " )} } "
87
+ StmtType .Invoke -> comment.invokes + = statement.description.replace(CARRIAGE_RETURN , " " )
88
88
StmtType .Condition -> comment.executesCondition + = " {@code ${statement.description.replace(CARRIAGE_RETURN , " " )} }"
89
89
StmtType .Return -> comment.returnsFrom = " {@code ${statement.description.replace(CARRIAGE_RETURN , " " )} }"
90
90
StmtType .CaughtException -> comment.caughtException = " {@code ${statement.description.replace(CARRIAGE_RETURN , " " )} }"
You can’t perform that action at this time.
0 commit comments